Kafka란?

분산 이벤트 스트리밍 플랫폼
이벤트 스트리밍이란 소스에서 목적지까지 이벤트를 실시간으로 스트리밍 하는 것을 말한다.
다른 시스템에서 Queue라고 부르는 것을 Kafka에서는 Topic
이라고 부른다.
간단한 실습 in CLI
토픽생성
docker exec -it kafka kafka-topics.sh --bootstrap-server localhost:9092 --create --topic testTopic

프로듀서 실행
docker exec -it kafka kafka-topics.sh --bootstrap-server localhost:9092 --create --topic testTopic
컨슈머 실행
docker exec -it kafka kafka-console-consumer.sh --topic testTopic --bootstrap-server 0.0.0.0:9092
