gharris1727 commented on PR #14633:
URL: https://github.com/apache/kafka/pull/14633#issuecomment-1779677563

   Hi @tkornai thanks for the PR!
   
   I think it's a relatively common expectation that returning from `main` will 
exit the program, and this problem is likely to regress in the future if we're 
not careful.
   
   Do you have source access over the custom security provider implementation? 
It may be appropriate to mark the security provider's thread as a Daemon 
thread, with `thread.setDaemon(true)`. This should have the same effect as 
explicitly calling `exit(0)`, since daemon threads are automatically stopped 
during JVM shutdown.


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

Reply via email to