Skip to main content

Understanding events

EventCatalog supports different message types, this includes commands, events (and soon queries).

Events represent facts and are immutable and are a type of message in EventCatalog.

Services may produce events to notify others that something has happened.

Example of an event​

An example of an event would be OrderPlaced message.

  • This event is a fact that an order has been placed.
  • Other services (consumers) may be interested in this event and can typically subscribe to it.

Events in EventCatalog​

  • Events in EventCatalog can be consumed by services or published by services.
  • Events in EventCatalog are orange (following EventStorming conventions)
  • Events live in the /events folder.

Example