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-4453 : Added code to separate controller connections and requests from the data plane #5921
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.
@MayureshGharat : Thanks for the patch. Added a few comments below.
It may be useful to add a unit test to make sure that the controller is indeed using the control plane channel specified.
7cc2627
to
983b0f4
Compare
@junrao Thanks a lot for the feedback. I have updated the PR with the changes and test to check that the controller is indeed using the control-plane if specified. Can you take another look? Thanks again. |
@jjkoshy ping |
@MayureshGharat To make reviews easier, please don't squash the changes to address feedback on the original commit. Add them as additional commits so that reviewers can more easily see what has changed since the last review. Thanks! |
@ijuma my bad. I actually messed up my local git branch, so had to redo the patch locally. Will take care next time. |
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.
@MayureshGharat : Thanks for the updated patch. Just a few more minor comments.
core/src/test/scala/unit/kafka/controller/ControllerIntegrationTest.scala
Outdated
Show resolved
Hide resolved
983b0f4
to
2c750d3
Compare
@junrao Thanks a lot for the feedback. I have updated the PR, addressing your comments. Can you take another look? Thanks again! |
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.
Sorry about the delay. This looks good overall. Just have a few minor comments.
core/src/test/scala/unit/kafka/controller/ControllerIntegrationTest.scala
Outdated
Show resolved
Hide resolved
core/src/test/scala/unit/kafka/controller/ControllerIntegrationTest.scala
Outdated
Show resolved
Hide resolved
…rom the data-plane(client and other broker requests)
…rocessorAvgIdlePercent to return Double.NaN, if the control-plane listener is not configured.
2c750d3
to
c40a575
Compare
@jjkoshy thanks a lot for the feedback. |
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.
@MayureshGharat : Thanks for the latest PR. LGTM
After this commit, my test in Jenkin fails with the ambiguous reference:
Here is my PR #5990 and its jenkin test. |
The build wasn't green for Java 11... |
Fix #6140 |
Thanks for the fix, @ijuma . |
…ts from the data plane (apache#5921) KIP-291 Implementation : Added code to separate controller connections and requests from the data plane. Tested with local deployment that the controller request are handled by the control plane and other requests are handled by the data plane. Also added unit tests in order to test the functionality. Author: Lucas Wang <luwang@linkedin.com>, Author: Mayuresh Gharat <gharatmayuresh15@gmail.com> Reviewers: Joel Koshy <jjkoshy@gmail.com>, Jun Rao <junrao@gmail.com>
KIP-291 Implementation : Added code to separate controller connections and requests from the data plane.
Committer Checklist (excluded from commit message)