From ed40623f5bca7cac50f221b94fd0c32ce4ff6b6b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Mon, 8 Apr 2024 20:39:00 +0200 Subject: [PATCH] WIP --- docker/docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index ddca8ad..27a47ae 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -289,6 +289,26 @@ services: - kafka-2 - kafka-3 + u1: + image: juplo/toolbox + command: + - bash + - -c + - | + kafka-producer-perf-test.sh \ + --topic test + --num-records $((1000*1024*1024/100)) \ + --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: + - u1.properties:/tmp/client.properties + volumes: zookeeper-data: zookeeper-log: -- 2.20.1