Skip to content

SVAdithya/KafkaStudy

Repository files navigation

#creates all zookeeper, kafka and application docker

docker-compose up -d

#get list of all containers and ID for producer and consumer

docker ps 
docker-compose down
docker-compose build
docker-compose up

#produce to topic

docker exec -it 89d4f551353f /opt/kafka/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic my-topic

#Consume topic

docker exec -it 89d4f551353f /opt/kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic my-topic --from-beginning

slack: https://app.slack.com/client/T07D61D72RY/C07D5TQCS1H

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published