cadonna commented on code in PR #15044: URL: https://github.com/apache/kafka/pull/15044#discussion_r1431219204
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java: ########## @@ -377,6 +377,11 @@ public void closeDirty() { streamsProducer.abortTransaction(); } + close(); + } + + private void close() { + offsets.clear(); Review Comment: I am afraid I do not understand. Method `removeAllProducedSensors()` is only called in `closeClean()` but not in `closedDirty()`. -- 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