Egeria’s event bus service is constructed from an event broker infrastructure service and a set of well known topics. Collectively they provide the ability to reliably pass events between different OMAG servers:
To register with an Open Metadata Repository Cohort, exchange type definitions and share changes to metadata with other members of the cohort via the OMRS Topic(s).
Each topic maintains a pointer to the last event that a server has read so that it receives each event that is added even if it restarts.
There are many different event broker implementations with greater or lesser reliability and performance. Many organizations establish a standard choice of their event broker service which is why Egeria uses connectors to implement its event bus.
Figure 1 shows the event bus in action.
Figure 1: The event bus in use by OMAG servers and other technologies
Details of open metadata topic connectors are needed in multiple places in a server’s configuration document. To simplify this configuration, the Event Bus Config is added to the server’s configuration document at the start of the configuration process. The event bus config establishes a set of defaults for the open metadata topic connectors. These defaults are used whenever open metadata topic connectors are configured.
The subsystems using the event bus have a specialized connector that supports event exchange for a specific type of event. Since it is necessary to be able to swap the event broker implementation, these connectors embed a open metadata topic connector within their implementation. This is illustrated in Figure 2.
Figure 2: Nested topic connectors
When the connection for one of these subsystem topic connectors is configured, the defaults from the Event Bus Config are used to set up the nested open metadata topic connection.
The resulting configuration for these nested connectors is illustrated in Figure 3.
Figure 3: Embedded event bus configuration
The common configuration for the event bus is identified and configured using the Event Bus Config.
This configuration is encoded in a Connection object for the generic open metadata topic connector.
When the consuming component is configured, a Connection object for its specialized topic connector is created, with the generic open metadata topic connector embedded inside.
When the Connector Broker inside Egeria’s runtime is called upon to create the specialized topic connector at server start up, it navigates the hierarchy of Connection objects, creating the nested hierarchy of connectors as specified.
- Return to Configuring a cohort
- Return to Configuring an OMAS Server
- Return to Administration Guide
- Return to Connector Catalog
License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.