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

Add a SelectorProvider that reuses custom provider implementations. #19186

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

Conversation

DimitarMilushev
Copy link

Tasks:

Changes:

The SelectorProvider fixes an issue where the static method Selector.open() would create a system-wide default SelectorProvider object whereas in our case we need a custom SelectorProvider.
This implementation utilizes ThreadLocal so that each thread can reuse the configured provider within its' own context.

The Selector code is updated to use our custom SelectorProvider from org.apache.kafka.common.network.

Sorry, something went wrong.

@github-actions github-actions bot added triage PRs from the community clients small Small PRs labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clients small Small PRs triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant