mjsax commented on code in PR #19669: URL: https://github.com/apache/kafka/pull/19669#discussion_r2083381608
########## clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java: ########## @@ -3505,6 +3524,7 @@ public void testClientInstanceIdNoTelemetryReporterRegistered(GroupProtocol grou assertEquals("Telemetry is not enabled. Set config `enable.metrics.push` to `true`.", exception.getMessage()); } + @SuppressWarnings("resource") Review Comment: IntelliJ warning. `newConsumer` returns an auto-closable -- 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