You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/30 17:26:48 UTC

[GitHub] [pulsar] sijie commented on pull request #7688: Expose MessagesImpl

sijie commented on pull request #7688:
URL: https://github.com/apache/pulsar/pull/7688#issuecomment-666544372


   @pg2404 I understand the motivation. However, I am not sure we are implementing this in the right way. 
   
   In your use case, can't you use batchReceive to receive a batch of messages and ack the whole batch?
   
   If we want to enhance the API to support batch acknowledgment, doesn't it make more sense to support
   
   ```
   ack(List<Message> msgs);
   ack(List<Messages> msgBatches);
   ```


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