-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Implementation of Transaction Buffer Client. #6544
Conversation
a4fc1f6
to
b318862
Compare
} else { | ||
long diff = (peeked.createdAt + operationTimeoutInMills) - System.currentTimeMillis(); | ||
if (diff <= 0) { | ||
timeToWaitMs = operationTimeoutInMills; |
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.
It is time out, so timeTowaitMs shouldn't = operationTimeoutInMills
cnx(topic).whenComplete((clientCnx, throwable) -> { | ||
if (throwable == null) { | ||
try { | ||
clientCnx.ctx().writeAndFlush(cmd, clientCnx.ctx().voidPromise()); |
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.
I think clientCnx.ctx().writeAndFlush(cmd, clientCnx.ctx().voidPromise());
should .addListener
5d7e816
to
f9c9910
Compare
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
3 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
5 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
* Implementation of Transaction Buffer Client. * Fix check style. * add license header * fix tests
* Implementation of Transaction Buffer Client. * Fix check style. * add license header * fix tests
Motivation
Implement the transaction buffer client.
Modifications
Verifying this change
New unit tests added
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation