KAFKA-2300: Error in controller log when broker tries to rejoin cluster#102
KAFKA-2300: Error in controller log when broker tries to rejoin cluster#102fpj wants to merge 5 commits intoapache:trunkfrom
Conversation
|
kafka-trunk-git-pr #59 FAILURE |
|
The test failures do not seem to be related to this patch. |
|
kafka-trunk-git-pr #60 SUCCESS |
|
Thanks, Ismael. I have made the change you suggested and also fixed some style issues as per your recommendation. |
|
kafka-trunk-git-pr #68 SUCCESS |
|
@fpj Is this patch ready for review now? |
|
it is ready for review, yes. @guozhangwang |
There was a problem hiding this comment.
I am not familiar with String interpolation in Scala, but just double check if @ijuma 's comment of using $ instead of % is still valid?
There was a problem hiding this comment.
Yes, it is. One needs to use $ and s" on strings that are interpolated. So, this and many other examples have two issues: % is used and the s" is in the string that doesn't need it but not in the one that does. It does seem like @fpj was quite conservative in the line break. I'd probably write many of these as just a single line.
There was a problem hiding this comment.
I prefer line breaks over long lines, is that alright?
There was a problem hiding this comment.
Myself sometimes over-use line breakers and sometimes do not use at all and write very long lines, I guess depending on what I ate on that day :P, or more likely if I a used larger monitor on that day. I think we do not have a strict rule about when to use line breaks.
Anyways, all others good to me, @fpj do you want to change the % and s" before I merge it?
|
Thanks for reviewing this patch. I have updated it according to your comments. The two main things I have done are to wrap all calls to sendRequestToBrokers with a try/catch block (previously I was only doing it in the one that caused the bug described in the jira) and to fix the strings as you pointed out. Let me know if this ok. |
|
kafka-trunk-git-pr #131 SUCCESS |
Protocol and CLI refinements
No description provided.