if you really want all the brokers to die, try change server.properties
controlled.shutdown.enable=false I had a similar problem on dev laptop with a single broker. It refused to die on system shutdowns (or took a very long time). 2018-01-10 12:57 GMT+01:00 Ted Yu <yuzhih...@gmail.com>: > Skip:Can you pastebin the stack trace of the stuck broker ? > Thanks > -------- Original message --------From: Skip Montanaro < > skip.montan...@gmail.com> Date: 1/10/18 3:52 AM (GMT-08:00) To: > users@kafka.apache.org Subject: Re: Broker won't exit... > Did you stop the broker before stoping zookeeper? > > > Yes. My stop script executes the server stop scripts in reverse order from > my start script. Should I have stuck in a couple second sleep between > stopping the brokers and stopping zookeeper? > > I was actually running two brokers. The one my stop script stopped first > exited properly. > > Skip >