mirror of https://github.com/apache/kafka.git
broker should exit if hitting exceptions durin startup; patched by Jun Rao; reviewed by Sriram Subramanian, Swapnil Ghike and Neha Narkhede; kafka-768
This commit is contained in:
parent
859959f974
commit
049ac882bf
|
|
@ -38,6 +38,7 @@ class KafkaServerStartable(val serverConfig: KafkaConfig) extends Logging {
|
|||
case e =>
|
||||
fatal("Fatal error during KafkaServerStable startup. Prepare to shutdown", e)
|
||||
shutdown()
|
||||
System.exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue