Skip to content

Instantly share code, notes, and snippets.

View acmlira's full-sized avatar
🏠
Working from home

Allan Cesar Marques Lira acmlira

🏠
Working from home
View GitHub Profile
@acmlira
acmlira / kafka-getting-started.sh
Last active September 10, 2022 15:27
Kafka topic sample
# Clone and start
git clone git@github.com:conduktor/kafka-stack-docker-compose.git
cd kafka-stack-docker-compose
docker-compose -f zk-single-kafka-single.yml up -d
# Open kafka container
docker exec -it kafka1 /bin/bash
# Inside container Create topic
kafka-topics --bootstrap-server localhost:9092 --list