wurstmeister / kafka-docker

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

Topic creation when using docker-compose failed because of replication factor is greater than 1 (available brokers at creation) #721

Open prasetyaputraa opened 1 year ago

prasetyaputraa commented 1 year ago

Is there any option to have multiple brokers at docker-compose up?

OneCricketeer commented 1 year ago

Sure, multiple brokers can be used. See the examples in the wiki here.

However, this is not recommended because you'd be needlessly replicating data within your single host, which is a single point of failure, and not truly fault tolerant