Interface OpenMetadataTopic
- All Known Implementing Classes:
InMemoryOpenMetadataTopicConnector
,KafkaOpenMetadataTopicConnector
,OpenMetadataTopicConnector
public interface OpenMetadataTopic
OpenMetadataTopic defines the generic interface to an event bus topic for open metadata events.
It is implemented by the subclasses of OpenMetadataTopicConnector that connect to real world event
bus infrastructures.
-
Method Summary
Modifier and TypeMethodDescriptionregisterListener
(OpenMetadataTopicListener newListener) Register a listener object.void
Sends the supplied event to the topic.
-
Method Details
-
registerListener
Register a listener object. This object will be supplied with all the events received on the topic.- Parameters:
newListener
- object implementing the listener interface- Returns:
- name of the topic
-
sendEvent
Sends the supplied event to the topic.- Parameters:
event
- object containing the event properties.- Throws:
ConnectorCheckedException
- the connector is not able to communicate with the event bus
-