arpit goyal created CAMEL-23443:
-----------------------------------
Summary: Expose enableBatchIndexAcknowledgment as a consumer
configuration option
Key: CAMEL-23443
URL: https://issues.apache.org/jira/browse/CAMEL-23443
Project: Camel
Issue Type: Improvement
Reporter: arpit goyal
The Pulsar client's ConsumerBuilder supports
enableBatchIndexAcknowledgment(boolean), which allows individual messages
within a batch to be acknowledged or
negatively acknowledged independently. When this is false (the default), a
single failed message causes the entire batch to be redelivered, even if the
other
messages in the batch were already successfully processed.
Currently, camel-pulsar's CommonCreationStrategyImpl builds the
ConsumerBuilder but never calls enableBatchIndexAcknowledgment(), leaving the
client default (false)
in effect. There is no URI parameter or endpoint option to configure this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)