I only discovered the kafka-server-stop.sh script a couple days ago. I can't seem to make it do its thing (the corresponding zookeeper stop script seems to work just fine). All consumers have been stopped. Lsof still shows the Kafka broker process listening on its port. The last connection left the CLOSE_WAIT state several minutes ago. Gstack shows 169 threads, most in pthread_cond_wait(), a handful in other wait-like functions (sem_wait, pthread_join, pthread_cond_timedwait, poll, epoll_wait). I'm running 2.11-1.0.0 on a Red Hat 6 server.
What does it take to get a broker to exit (short of kill -9)? Thx, Skip Montanaro