tet123/debezium-testing/debezium-testing-openshift
2021-04-08 04:04:00 -04:00
..
src DBZ-3336 Using correct labels on Apicurio Registry deployments 2021-03-24 06:14:41 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2021-04-08 04:04:00 -04:00
README.md DBZ-924 Adding integration tests for OpenShift and Strimzi 2020-02-20 12:48:08 +01:00

OpenShift deployment verification suite

This project verifies the basic functionality of Debezium connectors with Kafka cluster deployed to OpenShift via Strimzi project.

Prerequisites

OpenShift cluster with cluster-wide administrator access is required in order to run these tests. Depending on chosen registry a configured docker credentials are required in order to push built

Running the tests

mvn install -Docp.url=<ocp_api_url> -Docp.username=<ocp_password> -Docp.password=<ocp_password> -Dimage.fullname=<connect_image_name>

The following properties can be set to further configure the test execution

Name Default Value description
ocp.url OpenShift API endpoint
ocp.username OpenShift admin username
ocp.password OpenShift admin password
ocp.project.debezium debezium OpenShift debezium project
ocp.project.mysql debezium-mysql OpenShift mysql project
image.fullname Full name of Kafka Connect image

Building a KafkaConnect image with Debezium connectors

To build connect image running the assembly profile from parent directory together with image profile

mvn clean install -DskipTests -DskipITs -Passembly -Pimage

The following properties can be set to further configure image build

Name Default Value description
image.push.skip true Skips push to remote registry
image.push.registry quay.io remote registry base
image.name debezium/kafka:${project.version}-${image.version.strimzi}-kafka-${version.kafka} Name of built image
image.fullname ${image.push.registry}/${image.name} Full name of the built image
image.base.name strimzi/kafka:${image.version.strimzi}-kafka-${version.kafka} Base for built image
image.version.strimzi latest Version of Strimzi Kafka image