From 0dc599345defd0f2c947f57080ede0d0c43a0d68 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 16 Sep 2023 22:17:28 +0200 Subject: [PATCH] WIP:kafka --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.20.1