1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
dockerfiles/kafka-pixy/README.md
2020-09-17 18:21:48 +08:00

720 B

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