Skip to content
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

KAFKA-16951 Notify TransactionManager of disconnects to proactively rediscover Coordinator #16390

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

parafiend
Copy link
Contributor

When disconnected from a transaction or consumer group coordinator, immediately perform a lookup to ensure we still have the correct node marked as the coordinator. This allows pro-active discovery of coordinator changes during broker restarts.

Includes several test changes since the request/response flow has changed for disconnections so wait times, polling, and coordinator lookups all have slight adjustments.

Committer Checklist (excluded from commit message)

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

…ediscover Coordinator

When disconnected from a transaction or consumer group coordinator,
immediately perform a lookup to ensure we still have the correct node
marked as the coordinator. This allows pro-active discovery of
coordinator changes during broker restarts.

Includes several test changes since the request/response flow has
changed for disconnections and wait times, polling, so coordinator
lookups all have slight adjustments.
@parafiend
Copy link
Contributor Author

@jolshan Does this seem like an appropriate way to speed up rediscovery of transactional coordinators?

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.

1 participant