kmg28801 / kafka-study

1 stars 0 forks source link

Chapter 3. 카프카 디자인 #3

Closed kmg28801 closed 1 year ago

kmg28801 commented 1 year ago

카프카 클러스터 환경 구성 (맥)

https://colevelup.tistory.com/17

kmg28801 commented 1 year ago

알아두면 좋은 명령어

topic 생성방법!

bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test

topic 조회방법!

bin/kafka-topics.sh --list --zookeeper localhost

test의 producer 내용 확인

bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test

test의 consumer 내용 확인

bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning

test topic 제거하기

bin/kafka-topics.sh --delete --zookeeper localhost --topic test

test topic 제거 조회

bin/kafka-topics.sh --list --zookeeper localhost

seojeonghyeon commented 1 year ago

https://seojeonghyeon0630.notion.site/Chapter-3-Kafka-Design-36eb7d72e0d5470191f45bad56247b6e