Install the AMQ Streams "Cluster Operator" according to the "Getting Started" documentation.
- Assume all steps are run as a user with "clusteradmin" privileges for simplicity.
- The provided configs assume that the broker will be installed in an OpenShift namespace named "strimzi", and that the Fuse/Spring Boot apps will be deployed in an OpenShift namespace named "fuse".
- The application in camel-kafka-tls contains a client that uses TLS to authenticate (as user "alice") and produce messages.
- The application in camel-kafka-scram contains a client that uses SCRAM-SHA-512 to authenticate (as user "bob") and consume messages.
Create a Kafka broker cluster, topic, and users
cd $PROJECT_ROOT oc apply -f ./kube/strimzi/
Create the "fuse" project and the "secret sync" CronJobs
cd $PROJECT_ROOT oc new-project fuse oc apply -f ./kube/fuse/
Build the project source code and deploy to OpenShift
cd $PROJECT_ROOT mvn clean install oc project fuse cd $PROJECT_ROOT/camel-kafka-scram mvn -P openshift fabric8:deploy cd $PROJECT_ROOT/camel-kafka-tls mvn -P openshift fabric8:deploy