WIP
authorKai Moritz <kai@juplo.de>
Tue, 9 Apr 2024 17:01:34 +0000 (19:01 +0200)
committerKai Moritz <kai@juplo.de>
Tue, 9 Apr 2024 17:01:34 +0000 (19:01 +0200)
docker/docker-compose.yml

index db1e7a0..ffe5298 100644 (file)
@@ -245,11 +245,15 @@ services:
           kafka-topics --bootstrap-server kafka:9091 \
                        --create \
                        --topic test \
-                       --partitions 2 \
+                       --partitions 1 \
                        --replication-factor 3 \
                        --config min.insync.replicas=2 \
           && echo Das Topic \'test\' wurde erfolgreich angelegt: \
           && kafka-topics --bootstrap-server kafka:9091 --describe --topic test
+          kafka-configs --bootstrap-server kafka:9091 \
+                        --alter --add-config 'producer_byte_rate=4096000,consumer_byte_rate=4096000' \
+                        --entity-type clients \
+                        --entity-name juplo
         fi \
         && date > INITIALIZED
     stop_grace_period: 0s