1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-26 00:38:37 +00:00
dockerfiles/kafka-pixy/README.md

37 lines
720 B
Markdown
Raw Normal View History

2020-09-17 10:21:48 +00:00
kafka-pixy
==========
[Kafka-Pixy][1] is a dual API (gRPC and REST) proxy for Kafka with automatic
consumer group control.
## docker-compose.yml
```yaml
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
```bash
$ 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
```
[1]: https://github.com/mailgun/kafka-pixy