Skip to content
Bernardo Teixeira edited this page Nov 19, 2021 · 8 revisions

Welcome to the ApolloBus wiki!

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

version >=2.2.4

public class EventFromMicroserviceA : ApolloEvent
{
   public string Name { get; set; }
   public string Message { get; set; }
}

version <2.2.4

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.

Diagrams

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

Getting Started

dotnet add package ApolloBus --version 1.1.4

You can see more in the Sample