From: Kai Moritz Date: Sat, 16 Sep 2023 20:17:28 +0000 (+0200) Subject: WIP:kafka X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0dc599345defd0f2c947f57080ede0d0c43a0d68;p=demos%2Fkafka%2Fchat WIP:kafka --- diff --git a/docker-compose.yml b/docker-compose.yml index 271b2038..db37f8e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -75,9 +75,12 @@ services: image: juplo/toolbox command: > bash -c " - kafka-topics --bootstrap-server kafka:9092 --delete --if-exists --topic test - kafka-topics --bootstrap-server kafka:9092 --create --topic test --partitions 10 --replication-factor 1 --config min.insync.replicas=1 - kafka-topics --bootstrap-server kafka:9092 --describe --topic test + kafka-topics --bootstrap-server kafka:9092 --delete --if-exists --topic info_channel + kafka-topics --bootstrap-server kafka:9092 --create --topic info_channel --partitions 10 --replication-factor 1 --config min.insync.replicas=1 + kafka-topics --bootstrap-server kafka:9092 --describe --topic info_channel + kafka-topics --bootstrap-server kafka:9092 --delete --if-exists --topic data_channel + kafka-topics --bootstrap-server kafka:9092 --create --topic data_channel --partitions 10 --replication-factor 1 --config min.insync.replicas=1 + kafka-topics --bootstrap-server kafka:9092 --describe --topic data_channel " depends_on: - kafka