codelipenghui commented on a change in pull request #5491: Fix message
deduplicate issue while using external sequence id with batch produce
URL: https://github.com/apache/pulsar/pull/5491#discussion_r342428430
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java
##########
@@ -50,7 +50,8 @@
private PulsarApi.MessageMetadata.Builder messageMetadata =
PulsarApi.MessageMetadata.newBuilder();
// sequence id for this batch which will be persisted as a single entry by
broker
- private long sequenceId = -1;
+ private long lowestSequenceId = -1;
+ private long highestSequenceId = -1;
Review comment:
will fix
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services