Skip to content

KAFKA-19140 ConnectAssignor#performAssignment parameter can be replace to ConnectProtocolCompatibility #19476

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

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

Conversation

m1a2st
Copy link
Collaborator

@m1a2st m1a2st commented Apr 15, 2025

The protocol type; for Connect assignors this is "eager", "compatible",
or "sessioned"

Since ConnectAssignor is an interface and the protocol parameter is
restricted to "eager", "compatible", or "sessioned", it aligns with the
existing ConnectProtocolCompatibility enum. Therefore, we can update the
code to use ConnectProtocolCompatibility directly.

@github-actions github-actions bot added triage PRs from the community connect small Small PRs labels Apr 15, 2025
@m1a2st m1a2st changed the title KAFKA-19140 ConnectAssignor#performAssignment second parameter can be replace from String to ConnectProtocolCompatibility KAFKA-19140 ConnectAssignor#performAssignment parameter can be replace to ConnectProtocolCompatibility Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect small Small PRs triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant