gaoran10 commented on code in PR #15729:
URL: https://github.com/apache/pulsar/pull/15729#discussion_r913169454


##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java:
##########
@@ -2704,6 +2722,58 @@ private CompletableFuture<Void> 
doTransactionAcknowledgeForResponse(MessageId me
         }
     }
 
+    private CompletableFuture<Void> 
doTransactionAcknowledgeForResponse(List<MessageId> messageIds, AckType ackType,
+                                                                        
ValidationError validationError,
+                                                                        
Map<String, Long> properties, TxnID txnID) {
+        BitSetRecyclable bitSetRecyclable = null;
+        long ledgerId;
+        long entryId;
+        ByteBuf cmd;
+        long requestId = client.newRequestId();
+        List<MessageIdData> messageIdDataList = new LinkedList<>();
+        for (MessageId messageId : messageIds) {

Review Comment:
   Do we need to check if existing ack position conflication? It seems that the 
broker also will check conflication, maybe we could add conflication check at 
client.



-- 
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]

Reply via email to