https://github.com/claudioaltamura/kafka-easy-docker-compose
docker compose files to create a fully working kafka stack
https://github.com/claudioaltamura/kafka-easy-docker-compose
docker-compose kafka
Last synced: 10 months ago
JSON representation
docker compose files to create a fully working kafka stack
- Host: GitHub
- URL: https://github.com/claudioaltamura/kafka-easy-docker-compose
- Owner: claudioaltamura
- License: mit
- Created: 2019-09-09T07:12:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-09T07:38:55.000Z (almost 7 years ago)
- Last Synced: 2025-02-26T15:48:02.408Z (over 1 year ago)
- Topics: docker-compose, kafka
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kafka-easy-docker-compose
docker compose files to create a fully working kafka stack
wurstmeister as image
start
```
docker-compose up -d
```
scale
```
docker-compose scale kafka=3
```
stop
```
docker-compose stop
```
Example with console producer and consumer
==========================================
Download and install Kafka https://kafka.apache.org/downloads
console 1
```
cd ./kafka_2.12-2.3.0/bin
./kafka-console-producer.sh --broker-list localhost:9092 --topic my_topic
```
console 2
```
cd ./kafka_2.12-2.3.0/bin
./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic my_topic --f
```
Kafka operations
================
[see here Kafa operations examples](kafka-operations.md).