Translate

Showing posts with label kafka. Show all posts
Showing posts with label kafka. Show all posts

Kafka - Failed with result 'exit-code'

Error:

    Failed with result 'exit-code'


Solution:

   1) Open the file meta.properties.

         In my case, it was located at the path /home/kafka/logs/meta.properties

    3) Just comment the the cluster.id with a #

    4) Restart zookeeper and kafka. (sudo systemctl restart kafka)








kafka 占用太多磁盘空间

 issue:

    kafka 运行一段时间后,会占用大量存储空间

    原因是 kafka 的数据量太大 导致 log 太大 会占用空间


solution:

    修改 ~/kafka/config/server.properties


        

* kafka install document:

https://hevodata.com/blog/how-to-install-kafka-on-ubuntu/