ableegoldman commented on a change in pull request #10072: URL: https://github.com/apache/kafka/pull/10072#discussion_r574782591
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/TaskId.java ########## @@ -32,6 +33,7 @@ public final int topicGroupId; /** The ID of the partition. */ public final int partition; + public Task task; Review comment: Not sure how big the "blast radius" of that would be. I guess another possible option is to just provide the `TaskId` in the TaskCorruptedException, since we only need the `Task` to get the changelogPartitions, and we ultimately handle the TaskCorruptedException inside the TaskManager, which should be able to look up the changelogPartitions for a given TaskId right? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org