Skip to content
Bernardo Teixeira edited this page Oct 28, 2021 · 8 revisions

Welcome to the ApolloBus wiki!

ApolloBus is an EventBus with RabbitMQ Client, Kafka Client, and ServiceBus Azure. Is a simple way to use an EventBus. ApolloBus use Message/Event represented by .NET types and routes by their .NET type.

public class EventFromMicroserviceA : ApolloBus.Events.Event
{
   public string Name { get; set; }
   public string Message { get; set; }
}

This means that messages are defined by .NET classes. Each distinct message type that you want to send is represented by a class. The class should be public and public read/write properties.

Digrams

The interface IApolloBus is messaging/event management. To publish the message and the subscription for the IEventHandler<>. The IEventHandler<> is the handler for the message/event.

Inside ApolloBus

Use Cases

  • Share data between Application
  • Using Event-Driven

Quick Start

dotnet add package ApolloBus --version 1.1.4

You can see more in the Sample