Skip to content

Kafka Problems

Roman edited this page Feb 18, 2020 · 3 revisions

Yes, an entire entry dedicated to kafka problems.

We love kafka! 😡

"There is no leader for this topic-partition as we are in the middle of a leadership election"

This seems to happen because the kafka broker gets assigned

Known workarounds:

  • Delete all topics:
    ./kafka-topics.sh --zookeeper localhost:2181 --delete --topic '.*'
  • Recreate all containers so that zookeeper might forget it existed before:
    deployment/dev/devenv.sh up --force-recreate kafka zookeeper kafdrop kafka-manager