From 8e9bcd43b7024686fb25dc98353f2ea222b25114 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 9 Apr 2024 18:31:23 +0200 Subject: [PATCH] WIP --- docker/docker-compose.yml | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index b3afa2b..4079c6d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -289,6 +289,26 @@ services: - kafka-2 - kafka-3 + u0: + image: juplo/toolbox + command: + - bash + - -c + - | + kafka-producer-perf-test \ + --topic test \ + --num-records 10000000 \ + --record-size 100 \ + --throughput -1 \ + --producer.config /tmp/client.properties \ + --producer-props \ + acks=all \ + bootstrap.servers=kafka:9092 \ + buffer.memory=67108864 \ + batch.size=128000 + volumes: + - ./u0.properties:/tmp/client.properties + u1: image: juplo/toolbox command: @@ -309,6 +329,26 @@ services: volumes: - ./u1.properties:/tmp/client.properties + u2: + image: juplo/toolbox + command: + - bash + - -c + - | + kafka-producer-perf-test \ + --topic test \ + --num-records 10000000 \ + --record-size 100 \ + --throughput -1 \ + --producer.config /tmp/client.properties \ + --producer-props \ + acks=all \ + bootstrap.servers=kafka:9092 \ + buffer.memory=67108864 \ + batch.size=128000 + volumes: + - ./u2.properties:/tmp/client.properties + volumes: zookeeper-data: zookeeper-log: -- 2.20.1