...
OMRS Events are messages used to notify members of an open metadata repository cohort of changes to:
- The membership of the open metadata repository cohort.
- The types of metadata being managed by members of the open metadata repository cohort.
- The changes to the metadata instances stored by each of the members of the open metadata repository cohort.
The motivation for sending OMRS Events between the membership of the open metadata repository cohort is to ensure open metadata is as widely available as security permitted and access to it is as efficient as possible. The events are broadcast to the membership of the open metadata repository cohort through an OMRS Topic and no replies are expected. Each member is expected to receive each event and make a local decision on whether to act on it or ignore it.
...
OMRS Event Formats
Figure 1 shows the structure of version 1 on an OMRS Event.
Figure 1: OMRS Event Format (version 1) | Every event has a:
|
Next is the category. There are three categories of OMRS Events:
- Registry events - used by metadata servers to register with (and unregister from) an open metadata repository cohort.
- TypeDef events - used to exchange type definitions (TypeDefs) between members of an open metadata repository cohort to verify that there are not conflicts in the types they are using.
- Instance events - used to synchronize updates to reference (cached) copies of metadata instances (entities and relationships) amongst the membership of an open metadata repository cohort.
The setting of the category determines which category specific section is used. Each category specific section begins with an category specific event type that describes the type of the event, and hence the properties that will be found in the category specific section.
If the event is reporting an error, there is also an optional error section. The error section has an error code, error message and a target metadata collection id. The target metadata collection id indicates which member of the cohort is the target for the error message. Other members may pick up the error and act on it as well.
The specifics of each event category are described below.
...
Registry Event Formats
Registry events are sent and received by the OMRS Cohort Registry. There are the following types of registry events:
...