I somehow broke my zookeeper and kafka setup and I can't figure out how to reset everything. I've tried deleting the kafka logs folder, the zookeeper data folder and running docker-compose stop && docker-compose rm -vsf && docker-compose up -d. But I still get the error:
I know the broker id's are different here, but when i manually set them to be the same, or set it as an environment variable in the docker-compose.yaml I still get the same error.
I somehow broke my zookeeper and kafka setup and I can't figure out how to reset everything. I've tried deleting the kafka logs folder, the zookeeper data folder and running
docker-compose stop && docker-compose rm -vsf && docker-compose up -d
. But I still get the error:Here's part of my
docker-compose.yaml
:This is in kafka
meta.properties
:and this is in
server.properties
:I know the broker id's are different here, but when i manually set them to be the same, or set it as an environment variable in the
docker-compose.yaml
I still get the same error.This is the code I'm using: