Update README.md

This commit is contained in:
kimhyungkook
2019-08-01 14:41:35 +09:00
committed by GitHub
parent dcd4a014d0
commit 15ac1ef784

View File

@@ -1 +1,20 @@
# 위키에 내용있어요
## 카프카 설치
1. 다운로드
https://kafka.apache.org/downloads
2. 주키퍼 실행
bin/windows/zookeeper-server-start.bat config/zookeeper.properties
3. 카프카 실행
bin/windows/kafka-server-start.bat config/server.properties
## eventTopic 이라는 Topic 에 메세지 통신
1. publish
bin/windows/kafka-console-produce.bat --broker-list http://34.85.73.178:31090 --topic eventTopic
2. consume
bin/window/kafka-console-consumer.bat --bootstrap-server http://34.85.73.178:31090 --topic eventTopic --from-beginning