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-17261: Support to create a quorum controller which is not in cluster #18799

Open
wants to merge 23 commits into
base: trunk
Choose a base branch
from

Conversation

TaiJuWu
Copy link
Contributor

@TaiJuWu TaiJuWu commented Feb 4, 2025

Jira: https://issues.apache.org/jira/browse/KAFKA-17261

This PR only support isolated controller to simply implementation.

Committer Checklist (excluded from commit message)

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

@github-actions github-actions bot added triage PRs from the community clients labels Feb 4, 2025
@TaiJuWu TaiJuWu changed the title KAFKA-17261: Support to create a quorum controller which is not in cluster (WIP) KAFKA-17261: Support to create a quorum controller which is not in cluster Feb 4, 2025
Comment on lines +97 to 99
// This matches URIs of formats: host:port
// IPv6 is supported with [ip] pattern
private static final Pattern HOST_PORT_PATTERN = Pattern.compile("^(?:[0-9a-zA-Z\\-%._]*://)?\\[?([0-9a-zA-Z\\-%._:]*)]?:([0-9]+)");
Copy link
Contributor Author

@TaiJuWu TaiJuWu Feb 4, 2025

Choose a reason for hiding this comment

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

This pattern easy make breaking change so I don't touch this one.
By the way, there is similar RE within

private static final Pattern URI_PARSE_REGEXP = Pattern.compile(
"^(.*)://\\[?([0-9a-zA-Z\\-%._:]*)\\]?:(-?[0-9]+)");

Maybe we can unify them in 5.0.

@github-actions github-actions bot removed the triage PRs from the community label Feb 5, 2025
@TaiJuWu TaiJuWu changed the title (WIP) KAFKA-17261: Support to create a quorum controller which is not in cluster KAFKA-17261: Support to create a quorum controller which is not in cluster Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant