wolfstudy opened a new pull request #706: URL: https://github.com/apache/pulsar-client-go/pull/706
Signed-off-by: xiaolongran <[email protected]> ### Motivation When producer send message or consumer receive message in non-batch, return the batchIdx is `0` ``` msgId: pulsar.trackingMessageID{messageID:pulsar.messageID{ledgerID:11653378, entryID:3807, batchIdx:0, partitionIdx:2} ``` In fact, when we disable batch in ProducerOptions, the batchIdx is `-1` ``` msgId: pulsar.trackingMessageID{messageID:pulsar.messageID{ledgerID:11653378, entryID:3807, batchIdx:0, partitionIdx:2} ``` ### Modifications - Get batchIdx from broker -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
