Kafka common problems and solutions

1. Kafka cannot be closed


Environment: centos7, scala2.11, kafka2.11-2.4.1, java1.8.0

Situation: In kafka pseudo-distribution, zookeeper is shut down normally after zookeeper is shut down, but kafka cannot be shut down.
Insert picture description here
Analysis: For sequence problems, you
must first start ZooKeeper and then Kafka. The sequence cannot be changed.
Close kafka first, and then close zookeeper.

Guess you like

Origin blog.csdn.net/qq_42658739/article/details/107893250