ijuma commented on a change in pull request #9067:
URL: https://github.com/apache/kafka/pull/9067#discussion_r460714547



##########
File path: 
streams/examples/src/main/java/org/apache/kafka/streams/examples/wordcount/WordCountTransformerDemo.java
##########
@@ -153,8 +154,8 @@ public void run() {
             streams.start();
             latch.await();
         } catch (final Throwable e) {
-            System.exit(1);
+            Exit.exit(1);
         }
-        System.exit(0);
+        Exit.exit(0);

Review comment:
       I think it was intentional not to use an internal class in demos that 
others may copy.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to