GithubHelp home page GithubHelp logo

maverick.eventdispatcher's Introduction

Maverick.EventDispatcher

The Event Dispatcher is a simple event routing system. It is designed to be used in a microservice architecture, where each service is responsible for a single task. The dispatcher allows you to route events from one service to another, and to define a set of rules that determine which events are routed to which services.

This a stop-gap solution for developers planning to implement software on top of a event-driven architecture targeting the K8S stack (using KNative Eventing) or the Cloud (using something like the Azure Event Grid). Setting up KNative can be tricky and is often (at least in our case) rejected by customers with a vanilla Kubernetes setup. Public clouds are regularly forbidden by internal regulation.

Features

The event dispatcher consists of multiple side cars augmenting a RabbitMQ instance and its Streams module. All its features are exposed as adressable HTTP endpoints to simplify the integration.

Architecture

The Event Dispatcher consists of four components:

  • an adressable receiver, which accepts any kind of CloudEvent through its webhook and forwards them to the event stream managed by RabbitMQ
  • the internal broker, which routes the events to the different queues as configured in the subscriptions
  • the distributor, which monitors the queues and delivers the events to the addressable destinations configured in the subscriptions
  • a subscription service, which provides an API for external systems to create and manage their subscriptions

maverick.eventdispatcher's People

maverick.eventdispatcher's Issues

Implement ArchUnit Rules

Rules

  • noone can access API
  • API can only access Services
  • Service can only access Storage
  • Storage can access nothing
  • RPC layer only accessed through Services

Data

  • DTO only in API Package (no access from outside)
  • Entity only in Storage Package
  • Message only in RPC Package (in shared)

Shared

  • Model access by everyone

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.