aliehsaeedii commented on code in PR #20693:
URL: https://github.com/apache/kafka/pull/20693#discussion_r2432352945


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamTask.java:
##########
@@ -773,6 +779,7 @@ record = partitionGroup.nextRecord(recordInfo, 
wallClockTime);
 
             // if there is no record to process, return immediately
             if (record == null) {
+                log.trace("Task {} has no next record to process.", id());
                 return false;
             }
         }

Review Comment:
   Add `else` to the if-clause ` if (!(record instanceof CorruptedRecord)) {` 
and logs for the else-clause?



-- 
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]

Reply via email to