chia7712 commented on code in PR #15802:
URL: https://github.com/apache/kafka/pull/15802#discussion_r1579708062
##########
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:
We can move `produceRecord();` out of `testWithConsumerGroup` to simplify
the arguments of `testWithConsumerGroup`
--
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]