{"repo":"kdubois/CamelQuarkusVoter","free":true,"listed":false,"github":"https://github.com/kdubois/CamelQuarkusVoter","clone":"git clone https://github.com/kdubois/CamelQuarkusVoter.git","description":"Demo that shows how to use Camel Quarkus with Quarkus Dev Services and Kafka","language":"Java","stars":18,"topics":["camel","java","kafka","kubernetes","microservices"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Votes Processor This demo project illustrates how Camel Quarkus applications can leverage Quarkus native builds and interact seamlessly with Apache Kafka and Knative Serving Watch the demo in action during my talk at Devoxx: Application Architecture The application is composed of 4 applications that communicate through Rest and Kafka and consume a database The UI application features a, well, UI, that shows the results of a poll and a form to vote for your favorite Java stack. When you vote, a REST POST event gets sent to the 'ingester' app, which will translate the result and add it to a Kafka topic. This app is designed to scale out rapidly with Knative so that it can handle bursts of requests. The 3rd application (processor) consumes the Kafka messages at its own pace and updates the database accordingly. (eg. if someone voted 'quarkus', the counter for quarkus would be incremented by 1) The 'retriever' application (currently embedded in the processor app) has a REST GET endpoint to get the results from the DB. Running the Application locally in Dev Mode You can run the entire application on your local machine in Quarkus dev mode. As long as you have Docker/Podman running on your machine, Quarkus will take care of spinning up Dev Services (basically a containerized mock) for your database and Kafka, so all you need to worry about is running the applications. Nice huh? :) Either start each process in a separate terminal as shown below; or if you want to just start the entir","default_branch":null,"files":null,"tree":[],"storefront":"/r/kdubois","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kdubois/CamelQuarkusVoter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}