From d320aa4501d77512c7365f9bec6d712052fd2c39 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 6 May 2023 10:34:25 +0200 Subject: [PATCH] WIP:clients --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e1b6160..78942dc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -155,11 +155,25 @@ services: producer: image: juplo/simple-producer:1.0-SNAPSHOT + entrypoint: java + -Dcom.sun.management.jmxremote=true + -Dcom.sun.management.jmxremote.port=7000 + -Dcom.sun.management.jmxremote.authenticate=false + -jar /opt/app.jar command: kafka:9092 test producer + ports: + - 7010:7000 consumer: image: juplo/simple-consumer:1.0-SNAPSHOT + entrypoint: java + -Dcom.sun.management.jmxremote=true + -Dcom.sun.management.jmxremote.port=7000 + -Dcom.sun.management.jmxremote.authenticate=false + -jar /opt/app.jar command: kafka:9092 test my-group consumer + ports: + - 7020:7000 volumes: -- 2.20.1