From b075b8e57eb3fe721b3d2d0d282cff3aea03a649 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Thu, 31 Oct 2024 19:05:06 +0100 Subject: [PATCH] WIP --- docker/docker-compose.yml | 17 ++++++++--------- docker/kroxylicious.config | 17 +++++++++++++++++ 2 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 docker/kroxylicious.config diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index b72f440..8fbba14 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -156,17 +156,16 @@ services: depends_on: - cli - zoonavigator: - image: elkozmon/zoonavigator:1.1.2 + kroxy: + image: quay.io/kroxylicious/kroxylicious:0.9.0 + command: --config /kroxylicious.config ports: - - "8000:80" - environment: - HTTP_PORT: 80 - CONNECTION_JUPLO_NAME: juplo - CONNECTION_JUPLO_CONN: zookeeper:2181 - AUTO_CONNECT_CONNECTION_ID: JUPLO + - "9090:9092" + - "9080:80" + volumes: + - ./kroxylicious.config:/kroxylicious.config depends_on: - - zookeeper + - cli akhq: image: tchiotludo/akhq:0.23.0 diff --git a/docker/kroxylicious.config b/docker/kroxylicious.config new file mode 100644 index 0000000..7c49250 --- /dev/null +++ b/docker/kroxylicious.config @@ -0,0 +1,17 @@ +--- +adminHttp: + host: kroxy + port: 80 + endpoints: + prometheus: {} +virtualClusters: + juplo: + targetCluster: + bootstrap_servers: kafka-1:9092,kafka-2:9092,kafka-3:9092 + clusterNetworkAddressConfigProvider: + type: PortPerBrokerClusterNetworkAddressConfigProvider + config: + bootstrapAddress: kroxy:9092 + logNetwork: true + logFrames: true +filters: -- 2.20.1