티스토리 뷰

728x90

brew install zookeeper
brew install kafka

brew services restart zookeeper
brew services restart kafka

vi /opt/homebrew/etc/zookeeper/zoo.cfg
admin.serverPort=8082 # default: 8080

sudo vi /etc/hosts
127.0.0.1 host.docker.internal

vi /opt/homebrew/etc/kafka/server.properties
listeners=PLAINTEXT://localhost:9092
advertised.listeners=PLAINTEXT://host.docker.internal:9092

https://okky.kr/article/762929?note=2062525 

 

OKKY | [apache kafka] disconnected 문제

안녕하세요! 최근 kafka를 접할 일이 생겨서 공부중에 있습니다. 그런데 서버에서 구동중인 kafka로 메시지를 발행하려고 하는중 disconnected가 떠서 난감한 상황입니다 ㅜㅜ;; 혹시나 해서 kafka API도

okky.kr

http://github.com/seunggabi/akhq

 

GitHub: Where the world builds software

GitHub is where over 73 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...

github.com

https://parkcheolu.tistory.com/196

 

Kafka 설정 listeners vs. advertised.listeners

두 설정 모두 모두 카프카 브로커 서버가 바인딩하는 주소를 나타낸다. listeners - 카프카 브로커가 내부적으로 바인딩하는 주소. advertised.listeners - 카프카 프로듀서, 컨슈머에게 노출할 주소. 설

parkcheolu.tistory.com

 

728x90
댓글