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-4942 fixed the commitTimeoutMs being set before the commit actually started #2730
Conversation
this fixes KAFKA-4942
Refer to this link for build results (access rights to CI server needed): |
unsure why the CI is failing, but the tests are passing on my laptop |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
@ewencp or @kkonstantine: mind checking? this looks like a potentially important fix. |
@simplesteph Good catch, fix makes sense given the call to It seems that this was introduced as a regression in |
@ewencp I've tried looking at writing a test for over an hour but no success as I'm not familiar with the PowerMock / EasyMock libraries. I also have no idea how to trigger two commits in a row, including a long commit that would keep the |
Hello, I believe I've added a test that verifies that the change by @simplesteph is correct. I've confirmed that without his fix, this test does not pass. Disclaimer: The test is not exactly pretty. It required spinning up an The test is available here if someone would like to merge it into this work: smarter-travel-media@9569a04 Alternatively, I can open a new PR with this commit and @simplesteph's work if that's easier. Please let me know if there's anything you'd like me to do or change. Thanks! |
HI @56quarters . Feel free to open a PR and include my one line change :) You did most of the work, I really appreciate it |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
…started This fixes KAFKA-4942 This supersededs #2730 /cc simplesteph gwenshap ewencp Author: Nick Pillitteri <nickp@smartertravelmedia.com> Author: simplesteph <stephane.maarek@gmail.com> Reviewers: simplesteph <stephane.maarek@gmail.com>, Konstantine Karantasis <konstantine@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io> Closes #2912 from 56quarters/fix-connect-offset-commit (cherry picked from commit d655d80) Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
…started This fixes KAFKA-4942 This supersededs #2730 /cc simplesteph gwenshap ewencp Author: Nick Pillitteri <nickp@smartertravelmedia.com> Author: simplesteph <stephane.maarek@gmail.com> Reviewers: simplesteph <stephane.maarek@gmail.com>, Konstantine Karantasis <konstantine@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io> Closes #2912 from 56quarters/fix-connect-offset-commit
@simplesteph Could you close this one out since #2912 has been committed? |
@ewencp done. Thanks for merging the other one. Badly needed fix :) |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
this fixes KAFKA-4942