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-18399 Remove ZooKeeper from KafkaApis (8/N): ELECT_LEADERS , ALTER_PARTITION, UPDATE_FEATURES #18453

Merged
merged 8 commits into from
Jan 14, 2025

Conversation

TaiJuWu
Copy link
Contributor

@TaiJuWu TaiJuWu commented Jan 9, 2025

remove follow handler within KafkaApis

  • ELECT_LEADERS
  • ALTER_PARTITION
  • UPDATE_FEATURES

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 core Kafka Broker labels Jan 9, 2025
@github-actions github-actions bot removed the triage PRs from the community label Jan 9, 2025
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@TaiJuWu thanks for your patch

@@ -217,7 +216,7 @@ class KafkaApis(val requestChannel: RequestChannel,
case ApiKeys.ALTER_CLIENT_QUOTAS => forwardToController(request)
case ApiKeys.DESCRIBE_USER_SCRAM_CREDENTIALS => handleDescribeUserScramCredentialsRequest(request)
case ApiKeys.ALTER_USER_SCRAM_CREDENTIALS => forwardToController(request)
case ApiKeys.ALTER_PARTITION => handleAlterPartitionRequest(request)
case ApiKeys.ALTER_PARTITION => forwardToController(request)
Copy link
Member

Choose a reason for hiding this comment

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

we should remove case ApiKeys.ALTER_PARTITION directly. The socket server can reject the request automatically

Copy link
Contributor Author

@TaiJuWu TaiJuWu Jan 14, 2025

Choose a reason for hiding this comment

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

Oh, look like a mistake when merge.
Thanks for catch out and I have fixed this.

@TaiJuWu TaiJuWu requested a review from chia7712 January 14, 2025 02:51
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@chia7712 chia7712 merged commit ddc3faa into apache:trunk Jan 14, 2025
7 of 9 checks passed
@chia7712 chia7712 changed the title KAFKA-18399 Remove ZooKeeper from KafkaApis (5/N): ELECT_LEADERS , ALTER_PARTITION, UPDATE_FEATURES KAFKA-18399 Remove ZooKeeper from KafkaApis (8/N): ELECT_LEADERS , ALTER_PARTITION, UPDATE_FEATURES Jan 14, 2025
chia7712 pushed a commit that referenced this pull request Jan 14, 2025
…TER_PARTITION, UPDATE_FEATURES (#18453)

Reviewers: Chia-Ping Tsai <[email protected]>
@TaiJuWu TaiJuWu deleted the rm_zk-4 branch January 14, 2025 22:22
askew pushed a commit to askew/kafka that referenced this pull request Jan 23, 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.

2 participants