You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Philip Nee (Jira)" <ji...@apache.org> on 2023/11/02 16:30:00 UTC
[jira] [Resolved] (KAFKA-15562) Ensure fetch offset and commit offset handler handles both timeout and various error types
[ https://issues.apache.org/jira/browse/KAFKA-15562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Nee resolved KAFKA-15562.
--------------------------------
Resolution: Fixed
> Ensure fetch offset and commit offset handler handles both timeout and various error types
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-15562
> URL: https://issues.apache.org/jira/browse/KAFKA-15562
> Project: Kafka
> Issue Type: Sub-task
> Components: clients, consumer
> Reporter: Philip Nee
> Assignee: Philip Nee
> Priority: Blocker
> Labels: consumer-threading-refactor, kip-848-e2e, kip-848-preview
>
> Both fetchOffsetRequest and commitOffsetRequest handlers don't have sufficient logic to handle timeout exception.
>
> CommitOffsetRequest handler also doesn't handle various of server error such as coordinator not found. We need to handle:
> If Exception is non null:
> - handle RetriableError that respects requestTimeoutMs
> - handle NonRetriableError
>
> If the response contains error, ensure to:
> - mark coordinator unknown if needed
> - retry if needed
> - fail the request
--
This message was sent by Atlassian Jira
(v8.20.10#820010)