Skip to content

KAFKA-14417: Producer doesn't handle REQUEST_TIMED_OUT for InitProducerIdRequest, treats as fatal error -- Addressing the error server side #12968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 19, 2022

Conversation

jolshan
Copy link
Member

@jolshan jolshan commented Dec 8, 2022

Older clients can not handle REQUEST_TIMED_OUT, so the error is changed to COORDINATOR_LOAD_IN_PROGRESS which is retriable and the desired behavior.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@jolshan jolshan changed the title KAFKA-14417:Addressing the error server side KAFKA-14417: Addressing the error server side Dec 8, 2022
Copy link
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jolshan jolshan changed the title KAFKA-14417: Addressing the error server side KAFKA-14417: Producer doesn't handle REQUEST_TIMED_OUT for InitProducerIdRequest, treats as fatal error -- Addressing the error server side Dec 15, 2022
@hachikuji hachikuji merged commit 22bb3e7 into apache:trunk Dec 19, 2022
hachikuji pushed a commit that referenced this pull request Dec 19, 2022
…`InitProducerId` (#12968)

Older clients can not handle the `REQUEST_TIMED_OUT` error that is returned from `InitProducerId` when the next producerId block cannot be fetched from the controller. In this patch, we return `COORDINATOR_LOAD_IN_PROGRESS` instead which is retriable.

Reviewers: Jason Gustafson <[email protected]>
hachikuji pushed a commit that referenced this pull request Dec 19, 2022
…`InitProducerId` (#12968)

Older clients can not handle the `REQUEST_TIMED_OUT` error that is returned from `InitProducerId` when the next producerId block cannot be fetched from the controller. In this patch, we return `COORDINATOR_LOAD_IN_PROGRESS` instead which is retriable.

Reviewers: Jason Gustafson <[email protected]>
guozhangwang pushed a commit to guozhangwang/kafka that referenced this pull request Jan 25, 2023
…`InitProducerId` (apache#12968)

Older clients can not handle the `REQUEST_TIMED_OUT` error that is returned from `InitProducerId` when the next producerId block cannot be fetched from the controller. In this patch, we return `COORDINATOR_LOAD_IN_PROGRESS` instead which is retriable.

Reviewers: Jason Gustafson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants