Added Burrow
authorKai Moritz <kai@juplo.de>
Tue, 21 Feb 2023 23:00:23 +0000 (00:00 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 24 Feb 2023 20:59:41 +0000 (21:59 +0100)
- See: https://github.com/linkedin/Burrow

burrow.conf [new file with mode: 0644]
burrow/Dockerfile [new file with mode: 0644]
docker-compose.yml

diff --git a/burrow.conf b/burrow.conf
new file mode 100644 (file)
index 0000000..05a9ac7
--- /dev/null
@@ -0,0 +1,43 @@
+[zookeeper]
+servers=[ "zookeeper:2181" ]
+timeout=6
+root-path="/burrow"
+
+[client-profile.docker]
+client-id="burrow"
+kafka-version="2.0.1"
+
+[cluster.local]
+client-profile="docker"
+class-name="kafka"
+servers=[ "kafka-1:9092", "kafka-2:9092", "kafka-3:9092" ]
+topic-refresh=60
+offset-refresh=30
+groups-reaper-refresh=30
+
+[consumer.local]
+class-name="kafka"
+cluster="local"
+servers=[ "kafka-1:9092", "kafka-2:9092", "kafka-3:9092" ]
+client-profile="docker"
+group-denylist="^(console-consumer-|python-kafka-consumer-|quick-).*$"
+group-allowlist=""
+
+[consumer.local_zk]
+class-name="kafka_zk"
+cluster="local"
+servers=[ "zookeeper:2181" ]
+zookeeper-path="/local"
+zookeeper-timeout=30
+group-denylist="^(console-consumer-|python-kafka-consumer-|quick-).*$"
+group-allowlist=""
+
+[httpserver.default]
+address=":8080"
+
+[storage.default]
+class-name="inmemory"
+workers=2
+intervals=15
+expire-group=604800
+min-distance=1
diff --git a/burrow/Dockerfile b/burrow/Dockerfile
new file mode 100644 (file)
index 0000000..54218d1
--- /dev/null
@@ -0,0 +1,8 @@
+ARG VERSION=v1.5.0
+
+FROM alpine:3
+
+WORKDIR /app
+RUN wget -qO- https://github.com/linkedin/Burrow/releases/download/v1.5.0/Burrow_1.5.0_linux_amd64.tar.gz | tar -xzv
+
+ENTRYPOINT [ "/app/burrow" ]
index cdf9e88..5ecfff2 100644 (file)
@@ -84,6 +84,13 @@ services:
       - kafka-2
       - kafka-3
 
+  burrow:
+    build: burrow
+    volumes:
+      - ./burrow.conf:/app/burrow.toml:ro
+    ports:
+      - 8080:8080
+
   kafka-lag-exporter:
     image: seglo/kafka-lag-exporter:0.8.2
     volumes: