24 lines
659 B
Markdown
24 lines
659 B
Markdown
### Cluster Manager for Apache Kafka
|
|
- 다운로드
|
|
- URL: https://github.com/yahoo/CMAK/releases
|
|
- 압축해제
|
|
tar -zxvf 1.3.3.18.tar.gz
|
|
- 빌드 (sbt 설치: https://jdm.kr/blog/90)
|
|
./sbt clean dist
|
|
- 환경설정
|
|
```shell
|
|
#conf/application.conf 설정파일에 zookeeper 호스트 주소(kafka-manager.zkhosts)를 설정한다.
|
|
|
|
#kafka-manager.zkhosts="kafka-manager-zookeeper:2181"
|
|
|
|
kafka-manager.zkhosts="192.168.7.17:2181,192.168.7.18:2181,192.168.7.52:2181"
|
|
|
|
kafka-manager.zkhosts=${?ZK_HOSTS}
|
|
```
|
|
- 실행
|
|
./sbt run
|
|
- 데몬등록
|
|
a) https://cyuu.tistory.com/151
|
|
b) https://louisdev.tistory.com/12
|
|
|
|
https://server-engineer.tistory.com/759 |