mjsax commented on code in PR #23475:
URL: https://github.com/apache/kafka/pull/23475#discussion_r4029964676
##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedHerder.java:
##########
@@ -394,7 +395,13 @@ public void run() {
log.info("Herder stopped");
} catch (Throwable t) {
- log.error("Uncaught exception in herder work thread, exiting: ",
t);
+ if (t instanceof BootstrapResolutionException) {
Review Comment:
Do we really want to exit() -- I though the idea of the new
`BootstrapResolutionException` was to allow the application code (ie, Connect
framework) to handle it gracefully, by creating a new client and restarting, to
recovery fully automatically
--
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]