From: Kai Moritz Date: Sat, 16 Sep 2023 20:12:30 +0000 (+0200) Subject: WIP: feat: Simplified Kafka-Setup ... X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=216b77b0bd6b322004283a17211ab037d3022a33;p=demos%2Fkafka%2Fchat WIP: feat: Simplified Kafka-Setup ... --- diff --git a/docker-compose.yml b/docker-compose.yml index a27ed453..b8ab38d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -76,7 +76,7 @@ services: command: > bash -c " kafka-topics --bootstrap-server kafka:9092 --delete --if-exists --topic test - kafka-topics --bootstrap-server kafka:9092 --create --topic test --partitions 2 --replication-factor 3 --config min.insync.replicas=2 + kafka-topics --bootstrap-server kafka:9092 --create --topic test --partitions 2 --replication-factor 1 --config min.insync.replicas=1 kafka-topics --bootstrap-server kafka:9092 --describe --topic test " depends_on: