You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Lianet Magrans (Jira)" <ji...@apache.org> on 2024/01/08 17:03:00 UTC

[jira] [Updated] (KAFKA-16032) Review client inconsistent error handling of OffsetFetch and OffsetCommit responses

     [ https://issues.apache.org/jira/browse/KAFKA-16032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lianet Magrans updated KAFKA-16032:
-----------------------------------
    Summary: Review client inconsistent error handling of OffsetFetch and OffsetCommit responses  (was: Review inconsistent error handling of OffsetFetch and OffsetCommit responses)

> Review client inconsistent error handling of OffsetFetch and OffsetCommit responses
> -----------------------------------------------------------------------------------
>
>                 Key: KAFKA-16032
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16032
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, consumer
>            Reporter: Lianet Magrans
>            Assignee: Lianet Magrans
>            Priority: Major
>              Labels: kip-848-client-support
>             Fix For: 3.8.0
>
>
> OffsetFetch and OffsetCommit handle errors separately. There are 2 issues to review around this:
>  - The logic is duplicated for some errors that are treated similarly (ex. NOT_COORDINATOR)
>  - Some errors are not handled similarly in both requests (ex. COORDINATOR_NOT_AVAILABLE handled and retried for OffsetCommit but not OffsetFetch). Note that the specific errors handled by each request were kept the same as in the legacy ConsumerCoordinator but this should be reviewed, in an attempt to handle the same errors, in the same way, whenever possible.
> Note that the legacy approach handles expected errors for each path (FETCH and COMMIT), retrying on those when needed, but does not retry on unexpected retriable errors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)