Overview of Event Store
This section provides an overview of the Event Store microservice and describes its uses.
Event Store supports event-driven architecture of Temenos Microservices. In the event-driven interfaces, all microservices raise events to Event Store.
Event Store is a microservice, which helps you to:
- Record all the events as part of their Inbox events and raises those events to the respective microservice using the Outbox infrastructure.
- Store the data as a series of immutable events over time.
- Record all events that happen in each of the microservices.
- Forward the raised events to the respective microservice.
Events can be various types as shown below.
- Command Processed Event
- Business Event
- Command Event
Each event has a well-defined schema. Microservice raises events that are compliant to the event schema.
To simplify the routing of events, Event ID should be in a standard convention as shown below.
Event Name Convention: <MS Service Name>.<Operation Id>
Event name : FundReservation.ReserveFund
Where,
- Fund Reservation is the microservice name
- ReserveFund is the operation supported in the microservice
This microservice provides the following services.
- A persistent store of internal events that ensures ordering and uniqueness of events.
- History or audit log
- Allows replay and catch-up.
This microservice provides the following features.
Event Store Service provides a centralized configuration service supported across applications to manage their configurations using API-based interface. This microservice supports distributed deployment and provides a stateless API interface. It has a data store (database) to persist configurations uploaded through the API interface.
Every configuration file in the configuration microservice is maintained as a versioned artifact. Under each configuration group, applications are allowed to maintain more than one configuration content using a unique Config name.
The Get Configuration API retrieves the following information.
- Get Configuration based on Config Name: Gets the configuration file based on the group name and configuration, where version ID is not mandatory. If the version is not provided, then client receives the latest version of the configuration file.
- Get List of Configurations managed under a Configuration Group: Retrieves the list of latest configuration names managed under the given configuration group.
The POST API allows the application to add a new configuration content under a given configuration group along with the associated version ID. If the version input is not provided, microservice automatically creates or increments the version.
The PUT API allows the client application to update the file content to the existing configuration content. If the version is not provided, the latest version for the configuration content gets updated.
In this topic