[
https://issues.apache.org/jira/browse/KAFKA-18902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Schofield updated KAFKA-18902:
-------------------------------------
Description:
Currently, an application using explicit acknowledgement which neglects to
acknowledge all of the records received from calling `poll(Duration)` is
re-presented with the records on the next call to poll. This has been shown to
be confusing.
An option will be added, `share.acknowledgement.mode=explicit` to throw an
exception on poll instead.
was:
Currently, an application using explicit acknowledgement which neglects to
acknowledge all of the records received from calling `poll(Duration)` is
re-presented with the records on the next call to poll. This has been shown to
be confusing.
An option will be added, initially experimentally, to throw an exception on
poll instead. If the experiment is successful, this will become the new
behaviour.
> Implement ShareConsumer option to throw on poll if there are unacked records
> ----------------------------------------------------------------------------
>
> Key: KAFKA-18902
> URL: https://issues.apache.org/jira/browse/KAFKA-18902
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Andrew Schofield
> Assignee: Shivsundar R
> Priority: Major
> Fix For: 4.1.0
>
>
> Currently, an application using explicit acknowledgement which neglects to
> acknowledge all of the records received from calling `poll(Duration)` is
> re-presented with the records on the next call to poll. This has been shown
> to be confusing.
> An option will be added, `share.acknowledgement.mode=explicit` to throw an
> exception on poll instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)