All Projects → debezium → debezium-kubernetes

debezium / debezium-kubernetes

Licence: other
ARCHIVED: Run Debezium/KafkaConnect CDC components in Kubernetes

Programming Languages

java
68154 projects - #9 most used programming language

Running Debezium on Kubernetes/OpenShift

Note: This project is archived. The recommended way for running Debezium as well as Apache Kafka, Kafka Connect on ZooKeeper on Kubernetes and distributions such as OpenShift is to use the custom resource definitions (CRDs) and operators provided by the Strimzi project.

This project builds the kubernetes manifest files for running Zookeeper (standalone at the moment), Apache Kafka, Kafka Connect with the Debezium MySQL connector and a MySQL 5.6 database on Kubernetes. The project uses the awesome fabric8-maven-plugin for automatically generating the manifest in both json and yaml formats.

To build, go to the root of this project and run:

mvn clean install

Then you can look in the target/classes folder of each subproject and see the kubernees.json and kubernetes.yml files. Each file specifies a Kubernetes ReplicationController (now named ReplicaSet in Kubernetes 1.2+) and a Kubernetes Service.

If you're logged in to a Kubernees cluster, you can deploy the json/yml with maven:

mvn fabric8:apply

This will read your ~/.kube/config file and deploy it into the namespace which is in your current context. Please see the fabric8-maven-plugin documentation for more details and fine grained control..

If you don't want to use Maven to deploy, you can use the kubectl tool directly. For example:

kubectl create -f zk-standalone/target/classes/kubernetes.yml

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].