WIP
authorKai Moritz <kai@juplo.de>
Thu, 31 Oct 2024 18:05:06 +0000 (19:05 +0100)
committerKai Moritz <kai@juplo.de>
Thu, 31 Oct 2024 18:05:06 +0000 (19:05 +0100)
docker/docker-compose.yml
docker/kroxylicious.config [new file with mode: 0644]

index b72f440..8fbba14 100644 (file)
@@ -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 (file)
index 0000000..7c49250
--- /dev/null
@@ -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: