yashmayya commented on code in PR #12478:
URL: https://github.com/apache/kafka/pull/12478#discussion_r963990153


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/errors/RetryWithToleranceOperator.java:
##########
@@ -268,8 +275,12 @@ void backoff(int attempt, long deadline) {
         if (delay + time.milliseconds() > deadline) {
             delay = deadline - time.milliseconds();

Review Comment:
   Ahh, I see what you're saying now. Sorry, my bad for not interpreting it 
correctly earlier and thanks for the detailed explanation! I've made the 
required changes and added a unit test using the auto tick functionality in 
`MockTime`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to