This repository contains the simple demo used during Strimzi Office Hours @ KubeCon Europe 2021.
kubectl create namespace myproject
kubectl create -f 01-install/ -n myproject
kubectl apply -f 02-kafka.yaml -n myproject
kubectl wait kafka/my-cluster --for=condition=Ready --timeout=300s -n myproject
kubectl apply -f 03-clients.yaml -n myproject
You can check that the consumer starts receiving messages using:
kubectl logs deployment/kafka-consumer -f -n myproject
Edit the 04-kafka-connect-build.yaml
file and:
- Update the
kafkaconnectbuild-pull-secret
secret to contain your.dockerconfigjson
for pushing the image (line 18) - Update the image address in
KafkaConnect.spec.build.output.image
to match your own container registry (line 64)
kubectl apply -f 04-kafka-connect-build.yaml -n myproject
kubectl wait kafkaconnect/my-connect --for=condition=Ready --timeout=300s -n myproject
You can check that the consumer starts receiving messages using:
kubectl logs deployment/my-connect-connect -f -n myproject
Join the #strimzi channel on CNCF Slack if you have any questions or issues 😉.