KAFKA-4453 : Added code to separate controller connections and requests from the data plane#5921
Conversation
junrao
left a comment
There was a problem hiding this comment.
@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. |
junrao
left a comment
There was a problem hiding this comment.
@MayureshGharat : Thanks for the updated patch. Just a few more minor comments.
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! |
jjkoshy
left a comment
There was a problem hiding this comment.
Sorry about the delay. This looks good overall. Just have a few minor comments.
…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. |
junrao
left a comment
There was a problem hiding this comment.
@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)