FrankYang0529 commented on code in PR #15802:
URL: https://github.com/apache/kafka/pull/15802#discussion_r1580759879


##########
tools/src/test/java/org/apache/kafka/tools/consumer/group/DeleteOffsetsConsumerGroupCommandIntegrationTest.java:
##########
@@ -169,20 +201,22 @@ private static ConsumerGroupCommand.ConsumerGroupService 
consumerGroupService(St
         );
     }
 
-    private void testWithConsumerGroup(String inputTopic,
+    private void testWithConsumerGroup(String inputTopicWithData,
+                                       String inputTopicForTest,
+                                       String inputGroup,
                                        int inputPartition,
                                        int expectedPartition,
                                        Errors expectedError,
                                        boolean isStable,
                                        Map<String, Object> consumerConfig) {
-        produceRecord();
+        produceRecord(inputTopicWithData);

Review Comment:
   I added a function `getValidateRunnable` to separate two topics. Hope it's 
more clear.



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

Reply via email to