Interface OpenMetadataTopic

  • All Known Implementing Classes:
    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 Detail

      • registerListener

        java.lang.String registerListener​(OpenMetadataTopicListener newListener)
        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

        void sendEvent​(java.lang.String event)
                throws ConnectorCheckedException
        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