chia7712 commented on code in PR #16019:
URL: https://github.com/apache/kafka/pull/16019#discussion_r1685482743


##########
tools/src/test/java/org/apache/kafka/tools/consumer/ConsoleConsumerTest.java:
##########
@@ -49,14 +87,25 @@
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
+@ExtendWith(value = ClusterTestExtensions.class)
+@Tag("integration")
 public class ConsoleConsumerTest {
 
+    private final ClusterInstance cluster;
+    private final String topic = "test-topic";
+    private final String transactionId = "transactional-id";
+    private final ObjectMapper objectMapper = new ObjectMapper();
+
+    public ConsoleConsumerTest(ClusterInstance cluster) {

Review Comment:
   not all test cases use `ClusterTest`, so you can't define the 
`ClusterInstance` in constructor



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