Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

camel-kafka-authz

Requirements

Preparing

Install the AMQ Streams "Cluster Operator" according to the "Getting Started" documentation.

Notes:

  • 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

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages