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



##########
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:
       Yeah, that's a good idea. We should likely add a new parameter to the 
test to choose if we want to enable this or not.




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