빅데이터 분석을 위한 준비 Kafka
Kafka 는 대용량 데이터를 위한 분산형 스트리밍 플랫폼입니다 . Kafka clustring Test 를 수행해 봅니다 . 전체Archtecture #1 ip setting 3대의 Centos 7.3 준비 server.1=192.168.0.145:2888:3888 server.2=192.168.0.174:2888:3888 server.3=192.168.0.175:2888:3888 #2 setting zookeeper & kafka ## download zookeeper & kafka wget http://mirror.navercorp.com/apache/kafka/2.2.0/kafka_2.12-2.2.0.tgz tar zxvf kafka_2.12-2.2.0.tgz mv kafka_2.12-2.2.0 kafka configure zookeeper (1,2,3 server)[root@kafka1 min]# vi kafka/config/zookeeper.properties # zookeeper servers server.1=192.168.0.145:2888:3888 server.2=192.168.0.174:2888:3888 server.3=192.168.0.175:2888:3888 ### configure kafka [root@kafka1 min]# vi kafka/config/server.properties broker.id=1 ## id를 server별로 설정 listeners=PLAINTEXT://:9092 zookeeper.connect=192.168.0.145:2181,192.168.0.174:2181,192.168.0.175:2181 delete.topic.enable=true #3 start zookeeper & kafka #### start zookeeper serve