Git Product home page Git Product logo

quarkus-cafe-demo's Introduction

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

quarkus-cafe-demo's People

Contributors

jeremyrdavis avatar tosin2013 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.