showuon commented on code in PR #15801:
URL: https://github.com/apache/kafka/pull/15801#discussion_r1578771823


##########
tools/src/test/java/org/apache/kafka/tools/consumer/group/DeleteOffsetsConsumerGroupCommandIntegrationTest.java:
##########
@@ -171,8 +162,8 @@ private String[] getArgs(String group, String topic) {
         };
     }
 
-    private void setupConsumerGroupService(String[] args) {
-        consumerGroupService = new ConsumerGroupCommand.ConsumerGroupService(
+    private static ConsumerGroupCommand.ConsumerGroupService 
consumerGroupService(String[] args) {

Review Comment:
   Why should we use static method here?



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