1.0.1 • Published 6 years ago

@maxng/hermes v1.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

Hermes

CircleCI

Hail Hermes!!, messenger of the MAX micro-service pantheon.

Installation

Install from NPM

yarn add @maxng/hermes --save

Overview

Hermes exposes an API with which microservice can communicate with each other and emit events for other system to ingest.

Hermes has two core APIs

  • EventHub
  • ServiceBus

EventHub

The EventHub API is powered by Azure EventHubs The EventHub API provides an interface to stream or ingest events generated within a shared Azure EventHub.

ServiceBus

The ServiceBus API is powered by Azure ServiceBus The ServiceBus API provides an interface for broking messages between services or systems.

The ServiceBus provides severally messaging mechanisms;

  • Queues
  • Topics

Queues

Messages are sent to and received from queues. Queues enable you to store messages until the receiving application is available to receive and process them.

queues

Topics

You can also use topics to send and receive messages. While a queue is often used for point-to-point communication, topics are useful in publish/subscribe scenarios.

topics

Topics can have multiple, independent subscriptions. A subscriber to a topic can receive a copy of each message sent to that topic. Subscriptions are named entities, which are durably created but can optionally expire or auto-delete.