Git Product home page Git Product logo

camel-kafka-authz's Introduction

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

camel-kafka-authz's People

Contributors

joshdreagan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.