[
https://issues.apache.org/jira/browse/KAFKA-17294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871876#comment-17871876
]
TengYao Chi commented on KAFKA-17294:
-------------------------------------
Hi [~lianetm]
I saw your comment under the discussion of KAFKA-17279
I will take on the issue. If you have other plans for it, feel free to reassign.
Thank you :)
> Handle retriable errors when fetching offsets in new consumer
> -------------------------------------------------------------
>
> Key: KAFKA-17294
> URL: https://issues.apache.org/jira/browse/KAFKA-17294
> Project: Kafka
> Issue Type: Bug
> Components: consumer
> Affects Versions: 3.7.0, 3.8.0
> Reporter: Lianet Magrans
> Priority: Major
> Labels: kip-848-client-support
>
> The new consumer CommitRequestManager fails with a fatal KafkaException
> whenever it receives an unexpected error in the OffsetFetch response, even if
> the error is retriable. See
> https://github.com/apache/kafka/blob/837684a1b9b3bad244613211e90b67cf9170fb44/clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java#L1009-L1011
> This was initially implemented like this to maintain the behaviour of the
> Classic consumer, where the ConsumerCoordinator would do the same when
> handling the OffsetFetchResponse. That behaviour is being updated for the
> legacy coordinator as part of KAFKA-17279, to retry on all retriable errors.
> We should review and update in the commitRequestManager to align with this,
> and retry on all retriable errors, which seems sensible when fetching
> offsets.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)