Skip to content

JoMen6/quarkus-cafe-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkus, Kafka, Kubernetes, and Coffee

This repo contains an event-driven demo application built with Quarkus, AMQ Streams (Kafka), and MongoDB. The application can run locally and in OpenShift (Kubernetes.)

Overview

The application consists of 4 microservices,:

  • Web
  • Core
  • Kitchen
  • Barista

2 projects containing depencies for the microservices,:

  • Domain
  • Test Utils

and a development utiltiy:

  • JSON Service

There is an additional microservice used for testing: Customermock

Web

quarkus-cafe-web

This service hosts the web front end and is the initial entry point for all orders. Orders are sent to a Kafka topic, web-in, where they are picked up by the Core service.

This services listens to the web-updates topic and pushes updates to the web front end.

Core

quarkus-cafe-core

This service orchestrates order related events between event producers and consumers

Kitchen

quarkus-cafe-kitchen

The kitchen services consumes "OrderIn" events, applies the business logic for making the item, and produces, "OrderUp" events

Barista

quarkus-cafe-barista

The barista services consumes "OrderIn" events, applies the business logic for making the beverage, and produces, "OrderUp" events

Domain

quarkus-cafe-domain

The domain contain shared objects representing the current state of the system's ubiquitous language

Test Utils

quarkus-cafe-test-utils

The test utilities have utilities for spinning up MongoDB and Kafka containers for use in integration tests. It is not part of the production application

JSON Service

quarkus-cafe-json-service

This service is a convenient way to view the JSON objects produced and consumed by the system. It is not part of the production application

Documentation and support

Supporting scripts and documentation can be found in the support folder

Working Locally

See Working Locally

Quarkus Cafe Deployment Options

ScreenShots

Landing Page quarkus cafe application landing page

quarkus cafe topology quarkus cafe topology

kafka topics quarkus cafe kafka topics

Author Information

This was created in 2020 by Jeremy Davis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 46.7%
  • Java 34.9%
  • JavaScript 13.7%
  • CSS 4.4%
  • Other 0.3%