sjhajharia commented on code in PR #19380: URL: https://github.com/apache/kafka/pull/19380#discussion_r2103019815
########## core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala: ########## @@ -2479,29 +2477,29 @@ class PlaintextAdminIntegrationTest extends BaseAdminIntegrationTest { } Using.resource(createConsumer(configOverrides = newConsumerConfig)) { consumer => - consumer.subscribe(Collections.singletonList(testTopicName)) + consumer.subscribe(util.List.of(testTopicName)) val records = consumer.poll(JDuration.ofMillis(DEFAULT_MAX_WAIT_MS)) assertNotEquals(0, records.count) consumer.commitSync() // Test offset deletion while consuming - val offsetDeleteResult = client.deleteConsumerGroupOffsets(testGroupId, Set(tp1, tp2).asJava) + val offsetDeleteResult = client.deleteConsumerGroupOffsets(testGroupId, util.Set.of(tp1, tp2)) Review Comment: Sorry for the churn. Thanks @mingyen066 for the quick fix. -- 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