Giter VIP home page Giter VIP logo

camel-amq-poc's Introduction

camel-amq-poc

Installation on OpenShift

This assumes that the Red Hat Streams for Apache Kafka operator is already installed

Go to the Administrator perspective

img.png

Select the Operators

img_6.png

Click Kafka img_7.png

Deploy a Kafka cluster

Select Current namespaces only img_8.png

Then "Create Kafka" img_9.png

Keep all the settings as default and click "Create" on the bottom

This will take a couple minutes to properly initialize

img_10.png

Scroll to the right and click Kafka Topic

img_11.png

Click the Create KafkaTopic button

img_12.png

Keep all settings as default and click Create at bottom

Return to the Developer perspective

img_13.png

Click +Add button

img_14.png

Select Import from Git

img_15.png

Enter the URL: https://github.com/mike4263/camel-amq-poc.git img.png

It should auto detect the Builder Image

NOTE: OpenShift 4.13 and older may specify a builder image that does not work properly with quarkus. (bug) img_3.png

Create a new VistA application group img_16.png

Enter Vista as the of the application group and vista-app as the name of the resources:

img_17.png

Select "Deployment" as the Resource Type img_2.png

Scroll down to the bottom. Click Deployment and enter the environment variables:

Env Variable Name
BOOTSTRAP_URL my-cluster-kafka-bootstrap:9092
QUARKUS_PROFILE prod

Click Create

Click on the lower left circle to watch the build process

img_5.png

The build will take a couple minutes. After the build is complete, click Topology on the left to return to the topology overview.

Click the blue ring to pull up the side pane.

img.png

Click View logs

img_1.png

If everything worked properly, you should see the following in the logs

img_20.png

If your application failed with the error:

invoking custom S2I script
Error: Unable to access jarfile /deployments/quarkus-app/quarkus-run.jar

Open up your oc client and modify your BuildConfig as follows:

oc project vista
oc set env bc/vista-app S2I_SOURCE_DEPLOYMENTS_FILTER=""
oc start-build bc/vista-app

Return to the Topology view and click the circle to view the side pane.

camel-amq-poc's People

Contributors

mike4263 avatar cschasteen 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.