DBILITY

ksql 설치 본문

bigdata/kafka

ksql 설치

DBILITY 2018. 5. 17. 20:34
반응형

Confluent GitHub에서 ksql 4.1 release만 다운 받아 컴파일하고 실행해 보니 confluent-common, rest-utils 관련 패키지 오류가 발생했다.

Confluent Platform의 OpenSource를 다운 받아 열어보니 거기에는 있었다.

ksql에 대한 기대감이 크기도 하고,

이렇게 된 바에야 Confluent Platform에서 다운받아 쓰기로 한다. 

헌데 거긴 zookeeper,kafka까지 모두 들어 있다. 오~마이~갓!

 

docker도 써 볼겸 docker로 설치해 보자.
docker는 https://docs.docker.com/install/linux/docker-ce/centos/를 참조해서 설치한다.

[root@big-slave2 ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Fri 2018-05-18 21:18:09 KST; 20min ago
     Docs: https://docs.docker.com
 Main PID: 4136 (dockerd)
    Tasks: 22
   Memory: 41.8M
   CGroup: /system.slice/docker.service
           ├─4136 /usr/bin/dockerd
           └─4143 docker-containerd --config /var/run/docker/containerd/containerd.toml

May 18 21:18:08 big-slave2 dockerd[4136]: time="2018-05-18T21:18:08.704396075+09:00" level=info msg="devm...se]"
May 18 21:18:08 big-slave2 dockerd[4136]: time="2018-05-18T21:18:08.861933239+09:00" level=info msg="devm...ase"
May 18 21:18:08 big-slave2 dockerd[4136]: time="2018-05-18T21:18:08.959178262+09:00" level=info msg="Grap...nds"
May 18 21:18:08 big-slave2 dockerd[4136]: time="2018-05-18T21:18:08.961685550+09:00" level=info msg="Load...rt."
May 18 21:18:09 big-slave2 dockerd[4136]: time="2018-05-18T21:18:09.660710808+09:00" level=info msg="Defa...ess"
May 18 21:18:09 big-slave2 dockerd[4136]: time="2018-05-18T21:18:09.756613016+09:00" level=info msg="Load...ne."
May 18 21:18:09 big-slave2 dockerd[4136]: time="2018-05-18T21:18:09.775122233+09:00" level=info msg="Dock...1-ce
May 18 21:18:09 big-slave2 dockerd[4136]: time="2018-05-18T21:18:09.775823362+09:00" level=info msg="Daem...ion"
May 18 21:18:09 big-slave2 dockerd[4136]: time="2018-05-18T21:18:09.786781078+09:00" level=info msg="API ...ock"
May 18 21:18:09 big-slave2 systemd[1]: Started Docker Application Container Engine.
Hint: Some lines were ellipsized, use -l to show in full.

[root@big-slave2 ~]# cd /usr/local/src

[root@big-slave2 src]# git clone https://github.com/confluentinc/ksql.git
Cloning into 'ksql'...
remote: Counting objects: 33642, done.
remote: Compressing objects: 100% (171/171), done.
remote: Total 33642 (delta 55), reused 132 (delta 23), pack-reused 33403
Receiving objects: 100% (33642/33642), 7.29 MiB | 147.00 KiB/s, done.
Resolving deltas: 100% (14995/14995), done.

 

반응형

'bigdata > kafka' 카테고리의 다른 글

producer filebeat 테스트  (0) 2018.05.12
flume kafka sink test ( 풀럼 카프카 싱크 테스트 )  (0) 2018.05.07
kafka-manager 설치  (0) 2018.05.07
kafka 설치  (0) 2018.05.06
Comments