KAFKA-7446: Fix the duration and instant validation messages#5930
KAFKA-7446: Fix the duration and instant validation messages#5930guozhangwang merged 1 commit intoapache:trunkfrom mrsrinivas:KAFKA-7446
Conversation
WindowDuration and AdvanceInterval
mjsax
left a comment
There was a problem hiding this comment.
Thanks for the PR. Couple of comments.
Note: build failed with checkstyle error; please fix.
|
ping @jaceklaskowski @guozhangwang. any thoughts about the changes? TIA |
mjsax
left a comment
There was a problem hiding this comment.
Thanks for updating the PR. Couple of follow ups.
duration and instant validation messages
duration and instant validation messages|
retest this please |
mjsax
left a comment
There was a problem hiding this comment.
Thanks for the update. Some follow up nits.
|
@mjsax, Thank you for the review comments. I addressed all the comments. |
mjsax
left a comment
There was a problem hiding this comment.
LGTM.
Call for second review @jaceklaskowski @guozhangwang @bbejeck @vvcephei
bbejeck
left a comment
There was a problem hiding this comment.
Just one minor nit otherwise LGTM.
I have one thought for a follow-on PR, we could consider moving the prepareMillisCheckFailMsgPrefix inside the validateXXX methods and create the formatted string at that point saving the users a method call.
But I think this PR is good enough as is.
Changes made as part of this commit. - Improved error message for better readability at millis validation utility - Corrected java documentation on `AdvanceInterval` check. - Added caller specific prefix text to make error message more clear to developers/users.
…#5930) Changes made as part of this commit. - Improved error message for better readability at millis validation utility - Corrected java documentation on `AdvanceInterval` check. - Added caller specific prefix text to make error message more clear to developers/users. Reviewers: Matthias J. Sax <matthias@confluent.io>, Bill Bejeck <bill@confluent.io>, Jacek Laskowski <jacek@japila.pl>
Changes made as part of this PR for KAFKA-7446
AdvanceIntervalcheck.Core and Streams modules' JUnit tests are successful in local but
tests related to file system is failed since I am running on Windows.
Committer Checklist (excluded from commit message)