1. 카프카 설치 위치로 이동 cd /opt/kafka 2. 주키퍼 실행상태 확인 service zookeeper status 3. 카프카 실행상태 확인 service kafka status 4. result라는 이름을 가진 토픽 생성 ./bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --topic result 5. 전체 토픽 조회 ./bin/kafka-topics.sh --list --bootstrap-server localhost:9092 6. result 토픽 상세조회 ./bin/kafka-topics.sh --describe --bootstrap-server localhost:9092 --topic result 7. 토픽에 프로듀서..
1. 카프카 설치 경로로 이동 cd /opt/kafka 2. 주키퍼 실행 상태 확인 service zookeeper status 3. 카프카 실행 상태 확인 service kafka status 4. 카프카 토픽 전체 확인 ./bin/kafka-topics.sh --list --zookeeper localhost:2181 5. test 라는 이름을 가진 토픽 만들기 ./bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --topic test 6. 전체 토픽 조회하기 ./bin/kafka-topics.sh --list --zookeeper localhost:2181 7. 토픽 상세보기 ./bin/kafka-topics.sh --describe ..
1. 주키퍼 실행 확인 service zookeeper status 2. 카프카 실행 상태 확인 service kafka status 3. 카프카 설치된 곳으로 이동하기 cd /opt cd kafka 4. 전체 토픽 확인하기 ./bin/kafka-topics.sh --bootstrap-server localhost:9092 --list 5. test 이름을 가진 토픽 만들기 ./bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test 6. 토픽 전체 조회하기 ./bin/kafka-topics.sh --bootstrap-server localhost:9092 -..