Writing Open Metadata Topic Connectors¶
The open metadata topic connector provides a topic interface to a generic string event.
It is the interface implemented by specific event buses.
Topic connectors for specific types of events (such as the OMRS Topic Connector) are configured with an instance of an open metadata topic connector embedded inside it.
The open metadata topic connector means that only one connector need be implemented for each type of event bus - rather than one for each type of topic that Egeria supports.
Implementations of this type of connector are located in the adapters/open-connectors/repository-services-connectors/audit-log-connectors module.
Open metadata topic connector interface¶
The open metadata repository services (OMRS) api module, repository-services-apis, provides the base classes for implementing an open metadata topic connector.
There are two parts to this API:
sendEventfor sending events to other systems/applications.
registerListenerfor registering a listener that is called each time an event is received from the event broker.
The definition of the connector interface for these connectors is defined in the
repository-services-apis module in the org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic Java package.
Raise an issue or comment below