docker-compose up -d
docker container exec -it local-kafka bash
# Producer 실행
kafka-console-producer.sh --bootstrap-server localhost:9092 --topic chat
# Consumer 실행
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic chat
docker-compose up -d
docker container exec -it local-kafka bash
# Producer 실행
kafka-console-producer.sh --bootstrap-server localhost:9092 --topic chat
# Consumer 실행
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic chat