bbejeck commented on code in PR #23728:
URL: https://github.com/apache/kafka/pull/23728#discussion_r4379282024
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java:
##########
@@ -1295,8 +1296,17 @@ void runOnceWithoutProcessingThreads() {
checkStateUpdater();
- log.debug("Processing tasks with {} iterations.",
numIterations);
- final int processed = taskManager.process(numIterations, time);
+ // maybeCommit() commits at the end of every iteration when
the uncommitted bytes exceed the limit, so
+ // they only exceed it here when that commit was skipped
(during a rebalance) or failed
+ final boolean processingPaused =
maybePauseProcessingForUncommittedBytes();
Review Comment:
@nicktelford can you take a look at this - seems to be a valid condition
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]