In Pulsar Producer, I am unable to track if batching is working or not. If it is working, I would like to know how to track it
I tried enabling the batching feature in pulsar producer and used the below methods while creating the producer object:
- enableBatching(boolean enableBatching)
- batchingMaxBytes(int batchingMaxBytes)
- batchingMaxMessages(int batchMessagesMaxMessagesPerBatch)
- batchingMaxPublishDelay(long batchDelay, TimeUnit timeUnit)
but I am not able to track if batching is working in pulsar producer or not and below is the line I am getting while enabling pulsar client debug logs ** add message to batch, num messages in batch so far 0**