Kafka brokers need to finish the shutdown process before the zookeepers do.
So start the zookeepers, then the kafka brokers will retry the shutdown process.

先关闭Kafka,等关闭完之后再关闭Zookeeper,否则,Kafka brokers无法关闭

参考:https://stackoverflow.com/questions/25568178/kafka-server-stop-sh-not-working-when-kafka-started-from-python-script

Logo

Kafka开源项目指南提供详尽教程,助开发者掌握其架构、配置和使用,实现高效数据流管理和实时处理。它高性能、可扩展,适合日志收集和实时数据处理,通过持久化保障数据安全,是企业大数据生态系统的核心。

更多推荐