chia7712 commented on code in PR #15917: URL: https://github.com/apache/kafka/pull/15917#discussion_r1598307218
########## core/src/test/java/kafka/test/ClusterInstance.java: ########## @@ -160,4 +167,34 @@ default Set<GroupProtocol> supportedGroupProtocols() { return Collections.unmodifiableSet(supportedGroupProtocols); } + + //---------------------------[modify]---------------------------// + + void start(); + + void stop(); + + void shutdownBroker(int brokerId); + + void startBroker(int brokerId); + + //---------------------------[wait]---------------------------// + + void waitForReadyBrokers() throws InterruptedException; + + default void waitForTopic(String topic, int partitions) throws InterruptedException { Review Comment: @showuon I add a helper to make all `ClusterInstance` users :) -- 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