-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Conversation
There was a problem hiding this 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) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The failed tests are traced by https://issues.apache.org/jira/browse/KAFKA-16024, https://issues.apache.org/jira/browse/KAFKA-18245,https://issues.apache.org/jira/browse/KAFKA-8073, https://issues.apache.org/jira/browse/KAFKA-18524,https://issues.apache.org/jira/browse/KAFKA-18451,https://issues.apache.org/jira/browse/KAFKA-16172
…TER_PARTITION, UPDATE_FEATURES (#18453) Reviewers: Chia-Ping Tsai <[email protected]>
…TER_PARTITION, UPDATE_FEATURES (apache#18453) Reviewers: Chia-Ping Tsai <[email protected]>
remove follow handler within KafkaApis
Committer Checklist (excluded from commit message)