hachikuji commented on a change in pull request #11265:
URL: https://github.com/apache/kafka/pull/11265#discussion_r696810930



##########
File path: 
tools/src/main/java/org/apache/kafka/tools/TransactionalMessageCopier.java
##########
@@ -361,7 +361,7 @@ public void onPartitionsAssigned(Collection<TopicPartition> 
partitions) {
                             
numMessagesProcessedSinceLastRebalance.getAndAdd(messagesSentWithinCurrentTxn);
                             
totalMessageProcessed.getAndAdd(messagesSentWithinCurrentTxn);
                         }
-                    } catch (ProducerFencedException | 
OutOfOrderSequenceException e) {
+                    } catch (ProducerFencedException | 
FencedInstanceIdException e) {

Review comment:
       nit: I don't think the copier uses group instance ID (maybe we could add 
support for that separately?), so I don't think `FencedInstanceIdException` is 
possible at the moment.




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