https://github.com/thbkrkr/zkafkapi
API to manage Kafka topics and consumers
https://github.com/thbkrkr/zkafkapi
Last synced: 2 months ago
JSON representation
API to manage Kafka topics and consumers
- Host: GitHub
- URL: https://github.com/thbkrkr/zkafkapi
- Owner: thbkrkr
- Created: 2016-07-05T10:14:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-09T09:44:44.000Z (over 9 years ago)
- Last Synced: 2025-03-02T17:48:17.458Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 1.07 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ZKafkAPI
API to manage Kafka topics and consumers.
### Run
```
docker run -d -p 4242:4242 \
--net=host \
-A=$ADMIN_PASSWORD \
-v /var/run/docker.sock:/var/run/docker.sock \
krkr/zkafkapi
```
### API
```
> curl -s localhost:4242/help
[
" -- Topics -- ",
"GET /topics ListTopics",
"GET /topics/:topic GetTopic",
"POST /topics/:topic CreateTopic",
"PUT /topics/:topic UpdateTopic",
"DELETE /topics/:topic DeleteTopic",
" -- Consumers -- ",
"GET /consumers ListConsumers",
"GET /consumers/:consumer GetConsumer",
" -- Lag --",
"GET /lag Lag"
]
```