The Wayback Machine - https://web.archive.org/web/20251210001604/https://github.com/apache/kafka/pull/17279
Skip to content

Conversation

@AndrewJSchofield
Copy link
Member

This PR implements the metadata redirection feature of the ShareFetch and ShareAcknowledge responses where an error code of NOT_LEADER_OR_FOLLOWER or FENCED_LEADER_EPOCH along with current leader information in the response is used to optimise handling of leadership changes in the client. This is applying the logic of KIP-951 to share group consumers.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)
@AndrewJSchofield
Copy link
Member Author

3 unrelated test failures (features command).

Copy link
Contributor

@omkreddy omkreddy left a comment

Choose a reason for hiding this comment

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

@AndrewJSchofield Thanks for the PR. LGTM

@omkreddy omkreddy merged commit e3e3f25 into apache:trunk Oct 3, 2024
@AndrewJSchofield AndrewJSchofield deleted the KAFKA-17500 branch October 3, 2024 08:03
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
…17279)

This PR implements the metadata redirection feature of the ShareFetch and ShareAcknowledge responses where an error code of NOT_LEADER_OR_FOLLOWER or FENCED_LEADER_EPOCH along with current leader information in the response is used to optimise handling of leadership changes in the client. This is applying the logic of KIP-951 to share group consumers.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants