TaiJuWu commented on code in PR #20235:
URL: https://github.com/apache/kafka/pull/20235#discussion_r2230764127


##########
tools/src/test/java/org/apache/kafka/tools/consumer/group/ResetConsumerGroupOffsetTest.java:
##########
@@ -153,6 +155,29 @@ public void 
testResetOffsetsNotExistingGroup(ClusterInstance cluster) throws Exc
         }
     }
 
+    @ClusterTest(
+        brokers = 2,
+        serverProperties = {
+            @ClusterConfigProperty(key = 
OFFSETS_TOPIC_REPLICATION_FACTOR_CONFIG, value = "2"),
+            @ClusterConfigProperty(key = 
TopicConfig.MIN_IN_SYNC_REPLICAS_CONFIG, value = "1")

Review Comment:
   These settings can avoid flaky.
   In my mind, if `__consumer_offset` is at broker 1 and we shutdown it, we 
don't have any `__consumer_offset`.



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