frankvicky commented on code in PR #16692:
URL: https://github.com/apache/kafka/pull/16692#discussion_r1693046714
##########
streams/src/test/java/org/apache/kafka/streams/integration/KafkaStreamsCloseOptionsIntegrationTest.java:
##########
@@ -90,6 +90,10 @@ public static void startCluster() throws IOException {
@AfterAll
public static void closeCluster() {
+ if (adminClient != null) {
+ adminClient.close();
Review Comment:
That were be more concise, thanks for the suggestion 😄
##########
streams/src/test/java/org/apache/kafka/streams/integration/KafkaStreamsCloseOptionsIntegrationTest.java:
##########
@@ -90,6 +90,10 @@ public static void startCluster() throws IOException {
@AfterAll
public static void closeCluster() {
+ if (adminClient != null) {
+ adminClient.close();
Review Comment:
That would be more concise, thanks for the suggestion 😄
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]