https://github.com/mrtimofey/kafka-sandbox
https://github.com/mrtimofey/kafka-sandbox
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrtimofey/kafka-sandbox
- Owner: mrTimofey
- Created: 2022-04-10T10:16:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-10T11:35:12.000Z (about 4 years ago)
- Last Synced: 2025-01-21T19:36:55.639Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kafka sandbox
Set of scripts to make a local Kafka+ZooKeeper cluster. No brains needed.
## Quick start
Download binaries (once):
```bash
./zookeeper/install.sh
./kafka/install.sh
```
Start ZooKeeper ensemble with 3 nodes: `./zookeeper/start-ensemble.sh`. ZooKeeper client connection ports: 2181, 2182, 2183.
Start Kafka cluster with 3 nodes: `./kafka/start-cluster.sh` Kafka client connection ports: 9091, 9092, 9093.
Stop ZooKeeper: `./zookeeper/stop-ensemble.sh`.
Stop Kafka: `./kafka/stop-cluster.sh`.
See `zookeeper` and `kafka` folders to learn more.