Linsiyuan9 commented on code in PR #17451: URL: https://github.com/apache/kafka/pull/17451#discussion_r1797530783
########## core/src/test/java/kafka/test/api/ShareConsumerTest.java: ########## @@ -1635,7 +1636,7 @@ private <K, V> KafkaShareConsumer<K, V> createShareConsumer(Deserializer<K> keyD private void warmup() throws InterruptedException, ExecutionException, TimeoutException { createTopic(warmupTp.topic()); TestUtils.waitForCondition(() -> - !scala.collection.JavaConverters.seqAsJavaList(cluster.brokers().get(0).metadataCache().getAliveBrokerNodes(new ListenerName("EXTERNAL"))).isEmpty(), + !CollectionConverters.asJava(cluster.brokers().get(0).metadataCache().getAliveBrokerNodes(new ListenerName("EXTERNAL"))).isEmpty(), Review Comment: hi @chia7712 , I have recommitd the code, please have a look😊 -- 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