Class KafkaMonitorIntegrationConnector

  • All Implemented Interfaces:
    AuditLoggingComponent, org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnector

    public class KafkaMonitorIntegrationConnector
    extends TopicIntegratorConnector
    KafkaMonitorIntegrationConnector provides common methods for the connectors in this module.
    • Constructor Detail

      • KafkaMonitorIntegrationConnector

        public KafkaMonitorIntegrationConnector()
    • Method Detail

      • initialize

        public void initialize​(String connectorInstanceId,
                               ConnectionProperties connectionProperties)
        Initialize the connector.
        Overrides:
        initialize in class ConnectorBase
        Parameters:
        connectorInstanceId - - unique id for the connector instance - useful for messages etc
        connectionProperties - - POJO for the configuration used to create the connector.
      • start

        public void start()
                   throws ConnectorCheckedException
        Indicates that the connector is completely configured and can begin processing. This call can be used to register with non-blocking services.
        Specified by:
        start in interface org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnector
        Overrides:
        start in class ConnectorBase
        Throws:
        ConnectorCheckedException - there is a problem within the connector.
      • refresh

        public void refresh()
                     throws ConnectorCheckedException
        Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories. Refresh is called when the integration connector first starts and then at intervals defined in the connector's configuration as well as any external REST API calls to explicitly refresh the connector. This method performs two sweeps. It first retrieves the files in the directory and validates that are in the catalog - adding or updating them if necessary. The second sweep is to ensure that all of the assets catalogued in this directory actually exist on the file system.
        Throws:
        ConnectorCheckedException - there is a problem with the connector. It is not able to refresh the metadata.