mirror of
https://github.com/valitydev/clickhouse-sink-connector.git
synced 2024-11-07 02:55:23 +00:00
docs and step-by-step instructions
This commit is contained in:
parent
7eb5ac5ddc
commit
762d115ef3
@ -170,7 +170,7 @@ kubectl -n $NAMESPACE rollout status -w deployment/mysql-operator
|
||||
kubectl -n $NAMESPACE get pod
|
||||
```
|
||||
|
||||
###sink
|
||||
### Strimzi
|
||||
|
||||
```bash
|
||||
docker image pull quay.io/strimzi/operator:0.28.0
|
||||
@ -179,7 +179,7 @@ minikube image load quay.io/strimzi/operator:0.28.0
|
||||
|
||||
```bash
|
||||
VERSION="0.28.0"
|
||||
NAMESPACE="sink"
|
||||
NAMESPACE="strimzi"
|
||||
echo "Install strimzi-operator. Version: $VERSION Namespace: $NAMESPACE" && \
|
||||
helm repo add strimzi https://strimzi.io/charts/ && \
|
||||
helm install \
|
||||
@ -258,11 +258,17 @@ kubectl -n ${NAMESPACE} apply -f schema-registry.yaml
|
||||
|
||||
### debezium
|
||||
|
||||
```bash
|
||||
docker image pull sunsingerus/debezium-mysql-source-connector:latest
|
||||
minikube image load sunsingerus/debezium-mysql-source-connector:latest
|
||||
```
|
||||
|
||||
```bash
|
||||
NAMESPACE="debezium"
|
||||
kubectl create namespace "${NAMESPACE}"
|
||||
kubectl -n $NAMESPACE apply -f debezium-connect.yaml
|
||||
kubectl -n $NAMESPACE apply -f <( \
|
||||
cat debezium-connector.yaml | \
|
||||
cat debezium-connector-avro.yaml | \
|
||||
MYSQL_HOST="mysql.mysql" \
|
||||
MYSQL_PORT="3306" \
|
||||
MYSQL_USER="root" \
|
||||
@ -278,6 +284,8 @@ kubectl -n $NAMESPACE apply -f <( \
|
||||
)
|
||||
```
|
||||
|
||||
### sink
|
||||
|
||||
```bash
|
||||
NAMESPACE="sink"
|
||||
kubectl -n $NAMESPACE apply -f sink-connect.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user