asdaraujo commented on a change in pull request #8730: URL: https://github.com/apache/kafka/pull/8730#discussion_r496306398
########## File path: connect/mirror/src/test/java/org/apache/kafka/connect/mirror/MirrorConnectorsIntegrationTest.java ########## @@ -136,10 +141,19 @@ public void setup() throws InterruptedException { backup.kafka().createTopic("primary.test-topic-1", 1); backup.kafka().createTopic("heartbeats", 1); - for (int i = 0; i < NUM_RECORDS_PRODUCED; i++) { - primary.kafka().produce("test-topic-1", i % NUM_PARTITIONS, "key", "message-1-" + i); - backup.kafka().produce("test-topic-1", i % NUM_PARTITIONS, "key", "message-2-" + i); - } + // produce to all partitions of test-topic-1 + produceMessages(primary, "test-topic-1", "message-1-"); + produceMessages(backup, "test-topic-1", "message-2-"); + + // Generate some consumer activity on both clusters to ensure the checkpoint connector always starts promptly + Map<String, Object> dummyProps = new HashMap<String, Object>(); Review comment: Fixed. ---------------------------------------------------------------- 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