1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-30 09:16:41 +02:00
dockerfiles/kafka-pixy
2020-10-28 17:20:54 +08:00
..
data add n8n 2020-10-28 17:20:54 +08:00
docker-compose.yml add kafka-pixy 2020-09-17 18:21:48 +08:00
README.md add kafka-pixy 2020-09-17 18:21:48 +08:00

kafka-pixy

Kafka-Pixy is a dual API (gRPC and REST) proxy for Kafka with automatic consumer group control.

docker-compose.yml

version: "3.8"
services:
  kafka-pixy:
    image: mailgun/kafka-pixy
    command: --config /etc/kafka-pixy/kafka-pixy.yaml
    ports:
      - "19091:19091"
      - "19092:19092"
    volumes:
      - ./data:/etc/kafka-pixy
    restart: unless-stopped

up and running

$ mkdir -p data
$ wget -O data/kafka-pixy.yaml https://github.com/mailgun/kafka-pixy/raw/master/default.yaml

# change kafka & zookeeper settings
$ vim data/kafka-pixy.yaml

$ docker-compose up -d
$ curl http://127.0.0.1:19092/topics