
# 토픽 삭제하기 $ bin/kafka-topics.sh \ --bootstrap-server localhost:9092 \ --delete \ --topic email.send # 토픽 전체 조회 (잘 삭제됐는 지 확인하기) $ bin/kafka-topics.sh \ --bootstrap-server localhost:9092 \ --list
$ bin/kafka-topics.sh \ --bootstrap-server localhost:9092 \ --create \ --topic email.send \ --partitions 1 \ --replication-factor 3
# 토픽 세부 정보 조회하기 $ bin/kafka-topics.sh \ --bootstrap-server localhost:9092 \ --describe \ --topic email.send

Replicas와 Isr에 3개의 숫자(1, 2, 3)가 다 있다면 3개의 Kafka 서버가 정상적으로 잘 연동되고 있다는 뜻이다. # 토픽 세부 정보 조회하기 $ bin/kafka-topics.sh \ --bootstrap-server localhost:19092 \ --describe \ --topic email.send # 토픽 세부 정보 조회하기 $ bin/kafka-topics.sh \ --bootstrap-server localhost:29092 \ --describe \ --topic email.send