-
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
MINOR: improve Session expiration notice #6618
MINOR: improve Session expiration notice #6618
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.
LGTM.
Thanks! Should we cherry-pick this to 2.2 and 2.1 as well? |
@vvcephei Test failure seems related:
|
Oops! Thanks for capturing that. |
@vvcephei Would this be helpful for time-based windows as well? |
@ableegoldman , yes, that's a good thought. I'll add it. |
Ok, all comments are addressed so far... Do you mind taking another look @mjsax and @ableegoldman ? |
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
@vvcephei Test failures seem to be related? |
Weird, I couldn't reproduce the test failures. Retest this, please. |
@vvcephei Failed again -- there seems to be something... no clue what. Maybe try to rebase to |
Ok, got it. The tests may log extra messages that didn't get logged on my machine, so we can't use equality for validating the log results. |
Thanks, @mjsax ! Can we also cherry-pick this to 2.2 and 2.1 ? (there is only one minor conflict in the 2.1 branch) |
* ak/trunk: (42 commits) KAFKA-8134: `linger.ms` must be a long KAFKA-7779; Avoid unnecessary loop iteration in leastLoadedNode (apache#6081) MINOR: Update Gradle to 5.4.1 and update its plugins (apache#6436) MINOR: improve Session expiration notice (apache#6618) KAFKA-8029: In memory session store (apache#6525) MINOR: In-memory stores cleanup (apache#6595) KAFKA-7862 & KIP-345 part-one: Add static membership logic to JoinGroup protocol (apache#6177) KAFKA-8254: Pass Changelog as Topic in Suppress Serdes (apache#6602) KAFKA-7903: automatically generate OffsetCommitRequest (apache#6583) KAFKA-8291 : System test fix (apache#6637) MINOR: Do not log retriable offset commit exceptions as errors (apache#5904) MINOR: Fix log message error of loadTransactionMetadata (apache#6571) MINOR: Fix 404 security features links (apache#6634) MINOR: Remove an unnecessary character from broker's startup log MINOR: Make LogCleaner.shouldRetainRecord more readable (apache#6590) MINOR: Remove implicit return statement (apache#6629) KAFKA-8237; Untangle TopicDeleteManager and add test cases (apache#6588) KAFKA-8227 DOCS Fixed missing links duality of streams tables (apache#6625) MINOR: reformat settings.gradle to be more readable (apache#6621) MINOR: Correct RestServerTest formatting ... Conflicts: build.gradle settings.gradle
Reviewers: Matthias J. Sax <[email protected]>, A. Sophie Blee-Goldman <[email protected]>
Reviewers: Matthias J. Sax <[email protected]>, A. Sophie Blee-Goldman <[email protected]>
Cherry-picked to |
Thanks so much! |
Reviewers: Matthias J. Sax <[email protected]>, A. Sophie Blee-Goldman <[email protected]>
The log for expired session windows only shows the window end time and expiration time, not the current stream time, which makes it not obvious why the window is expired, unless you are intimately familiar with stream-time calculations. Explicitly logging the current stream time should help.
Committer Checklist (excluded from commit message)