Modelling event brokers and topics¶
Typically, topics are managed by an event broker such as Apache Kafka.
Figure 1 shows the types of metadata that integration connectors can create.
Figure 1: Topic metadata supported by open metadata
The structure of an event is called an EventType. The details of this structure such as the data fields in the event are described using SchemaAttributes and SchemaTypes.
Figure 2 shows the open metadata types used to represent the metadata.
Figure 2: Topic open metadata types supported by open metadata
If the EventBroker is catalogued, link each topic to it using the CapabilityAssetUse relationship. Where a topic supports more than one event type, the Schema relationship, EventTypeList entity and SchemaTypeOption relationship sit in between the topic and each event type.
The schema attributes use the EventSchemaAttribute subtype to allow for find requests that only return schema information for events. The schema attributes also use the TypeEmbeddedAttribute classification method for defining the schema type.
Raise an issue or comment below