rondagostino commented on a change in pull request #11606: URL: https://github.com/apache/kafka/pull/11606#discussion_r770108761
########## File path: core/src/main/scala/kafka/server/BrokerServer.scala ########## @@ -434,7 +433,7 @@ class BrokerServer( maybeChangeStatus(STARTING, STARTED) fatal("Fatal error during broker startup. Prepare to shutdown", e) shutdown() - throw e + throw if (e.isInstanceOf[ExecutionException]) e.getCause else e Review comment: This causes the KRaft broker to throw KafkaStorageException like the ZK broker rather than ExecutionException, which is what is thrown now. -- 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