wurstmeister / kafka-docker

Dockerfile for Apache Kafka
http://wurstmeister.github.io/kafka-docker/
Apache License 2.0
6.92k stars 2.73k forks source link

Error failed to change state for partition #739

Open Neo1780 opened 1 year ago

Neo1780 commented 1 year ago

Hello,

I allways get the error: Controller xxxx epoch xx failed to change state for partition _consumer-offsets-40 from Offlinepartition to OnlinePartition(state.change.loger) kafka.common.StateChangeFailedExeption: Failed to elect leader for partition consumer_offsets-40 under strategy OfflinePartitonLeaderElectionStrategy(false)

I´m totally new to kafka, and at the moment i don´t see the wood because of the trees :)

Neo1780 commented 1 year ago

I found out, that none of my topics has a leader! Is it possible to do this manually over the cli?