gharris1727 commented on code in PR #15598:
URL: https://github.com/apache/kafka/pull/15598#discussion_r1695512242


##########
clients/src/main/java/org/apache/kafka/common/utils/Exit.java:
##########
@@ -55,22 +55,37 @@ public interface ShutdownHookAdder {
     private static volatile Procedure haltProcedure = DEFAULT_HALT_PROCEDURE;
     private static volatile ShutdownHookAdder shutdownHookAdder = 
DEFAULT_SHUTDOWN_HOOK_ADDER;
 
+    /**
+     * Use of this method is discouraged, and should be replaced with {@link 
#exitOrThrow(int)}
+     */

Review Comment:
   Eventually yes. Once we remove most/all of these call-sites from AK code, we 
can deprecate them. I meant "discouraged" to mean "will be deprecated and 
removed eventually".



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

Reply via email to