Class OpenMetadataTopicSenderConnectorBase
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicConsumerBase
org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicSenderConnectorBase
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent,org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension
OpenMetadataTopicConnectorBase is a base class to topic connectors that only send
events on the embedded event bus connector
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.connectors.ConnectorBase.ProtectedConnection -
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicConsumerBase
auditLog, connectionName, eventBusConnectorsFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<Void>Send the request to the embedded event bus connector(s).Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.OpenMetadataTopicConsumerBase
disconnect, getConnectorComponentDescription, initializeEmbeddedConnectors, setAuditLog, start, validateEventBusConnectorsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
OpenMetadataTopicSenderConnectorBase
public OpenMetadataTopicSenderConnectorBase()
-
-
Method Details
-
sendEvent
protected CompletableFuture<Void> sendEvent(String event) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException Send the request to the embedded event bus connector(s).- Parameters:
event- event as a string- Returns:
- a completable future with the sendEvent result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the event is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- there is a problem with the embedded event bus connector(s).
-