https://github.com/pierrekieffer/kafkatoolbox
Provides Kafka services
https://github.com/pierrekieffer/kafkatoolbox
go golang kafka kafka-go
Last synced: about 2 months ago
JSON representation
Provides Kafka services
- Host: GitHub
- URL: https://github.com/pierrekieffer/kafkatoolbox
- Owner: PierreKieffer
- License: bsd-2-clause
- Created: 2020-02-14T14:55:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T07:14:48.000Z (about 5 years ago)
- Last Synced: 2023-03-07T01:31:41.861Z (about 2 years ago)
- Topics: go, golang, kafka, kafka-go
- Language: Go
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kafkaToolBox
kafkaToolBox is based on segmentio/kafka-go package and provides :
- producer-api : Simple API allowing data ingestion and pushing messages to Kafka
- consumer : Simple Kafka consumer## Build and deploy
- To quickly deploy a Kafka cluster : https://github.com/PierreKieffer/docker-kafka-cluster
- Set the config.json file with your own settings
- Build an application :
`go build . `
- producer-api :
- Deploy :
`./producer-api /path/config.json`
- Post a message :
`curl -i http://localhost:8080/producer -X POST -d '{"message":"Here we go !"}' -H "Authorization: Bearer token"`
- consumer :
- Deploy :
`./consumer /path/config.json`