-
DB 생성
- Mysql, Postgres, Redis 생성
kubectl apply -f db-deploy/
- Mysql, Postgres, Redis 생성
-
Kafka Broker, Schema Registry, Kafka Connect 생성
- Kafka Broker
kubectl apply -f 1_kafka-simple-connect.yaml kubectl apply -f 2_schema-registry.yaml kubectl apply -f 3_kafka-connect.yaml
- Kafka Broker
-
Mysql Source Connector, Postgres Sink connector 생성
- 컨테이너 접속하여 아래 명령어 실행
kubectl apply -f 4_kafka-mysql-source-connector.yaml kubectl apply -f 5_kafka-postgres-sink-connector.yaml
- 컨테이너 접속하여 아래 명령어 실행
-
Postgres에 Mysql과 똑같은 테이블 및 데이터가 생성되는 것 확인
- postgres 컨테이너 접속
kubectl exec -it {postgres pod 이름} -n kafka -- psql -U postgres
- 테이블 확인 및 데이터 확인
postgres=# \dt postgres=# select * from example;
-
Notifications
You must be signed in to change notification settings - Fork 0
aldlfkahs/strimzi-kafka-example
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published