pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] codelipenghui commented on a change in pull request #5491: Fix message deduplicate issue while using external sequence id with batch produce
Date Tue, 05 Nov 2019 08:22:03 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message