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 2022/06/23 18:36:45 UTC

[GitHub] [pulsar] devinbost opened a new issue, #16203: [Doc] Batch index acknowledgment doc doesn't mention requirement to enable it in client

devinbost opened a new issue, #16203:
URL: https://github.com/apache/pulsar/issues/16203

   ### What issue do you find in Pulsar docs?
   
   In the doc for batching (https://pulsar.apache.org/docs/next/concepts-messaging/#batching), it mentions the need to enable batch index acknowledgment on the broker, but it omits the important detail of enabling it in the consumers. 
   
   As you can see from https://github.com/apache/pulsar/blob/bb0e0f2b432bbcdd67a59d8c08cf768811c459ec/pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ConsumerConfigurationData.java#L154, the default setting for the consumer is `batchIndexAckEnabled = false`, and the consumer can call this method to enable it: https://github.com/apache/pulsar/blob/adc1bb7d26752cb9e85c2303f2f637c995e8d33d/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java#L672
   
   ### What is your suggestion?
   
   Give example of enabling it in the client. 
   
   ### Do you have any references?
   
   See above.
   
   ### Would you like to fix this issue?
   
   Yes, I'll connect the PR.
   
   ### Note
   
   - [X] I have researched my question.


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] momo-jun commented on issue #16203: [Doc] Batch index acknowledgment doc doesn't mention requirement to enable it in client

Posted by GitBox <gi...@apache.org>.
momo-jun commented on issue #16203:
URL: https://github.com/apache/pulsar/issues/16203#issuecomment-1182693318

   @devinbost Thank you for reporting and fixing this issue.
   @Anonymitaet We can close this issue now.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Anonymitaet closed issue #16203: [Doc] Batch index acknowledgment doc doesn't mention requirement to enable it in client

Posted by GitBox <gi...@apache.org>.
Anonymitaet closed issue #16203: [Doc] Batch index acknowledgment doc doesn't mention requirement to enable it in client
URL: https://github.com/apache/pulsar/issues/16203


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org