Bottledwater pg 사용방법 및 설정 - kayform/bwcontrol GitHub Wiki

Bottledwater-pg 사용방법 및 설정

KAFKA 기동방법
K4M-KAFKA-1 서버로 root유저 접속

cd /bigdata/confluent ./bin/zookeeper-server-start etc/kafka/zookeeper.properties & ./bin/kafka-server-start ./etc/kafka/server.properties ./bin/schema-registry-start ./etc/schema-registry/schema-registry.properties

KAFKA 종료방법
K4M-KAFKA-1 서버로 root유저 접속. 종료 순서가 기동과 역순

cd /bigdata/confluent ./bin/schema-registry-stop ./etc/schema-registry/schema-registry.properties ./bin/kafka-server-stop ./etc/kafka/server.properties ./bin/zookeeper-server-stop etc/kafka/zookeeper.properties &

bottledwater 기동방법
K4M-PG 서버로 postgres 유저 접속. 
cd /postgresql/bottledwater-pg
./bottledwater --postgres=postgres://localhost/replicadb --slot=test --broker=K4M-KAFKA-1:9092 --schema-registry=http://K4M-KAFKA-1:8081

⚠️ **GitHub.com Fallback** ⚠️