public class OpenMetadataTopicConsumerBase extends ConnectorBase implements VirtualConnectorExtension, AuditLoggingComponent
ConnectorBase.ProtectedConnection| Modifier and Type | Field and Description |
|---|---|
protected AuditLog |
auditLog |
protected String |
connectionName |
protected List<OpenMetadataTopicConnector> |
eventBusConnectors |
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties| Constructor and Description |
|---|
OpenMetadataTopicConsumerBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
Free up any resources held since the connector is no longer needed.
|
void |
initializeEmbeddedConnectors(List<Connector> embeddedConnectors)
Set up the list of connectors that this virtual connector will use to support its interface.
|
void |
setAuditLog(AuditLog auditLog)
Receive an audit log object that can be used to record audit log messages.
|
void |
start()
Indicates that the connector is completely configured and can begin processing.
|
protected void |
validateEventBusConnectors(String methodName)
Validates that there is at least one event bus connector receiving events.
|
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, toStringprotected List<OpenMetadataTopicConnector> eventBusConnectors
protected String connectionName
protected AuditLog auditLog
public void initializeEmbeddedConnectors(List<Connector> embeddedConnectors)
initializeEmbeddedConnectors in interface VirtualConnectorExtensionembeddedConnectors - list of connectorspublic void setAuditLog(AuditLog auditLog)
setAuditLog in interface AuditLoggingComponentauditLog - audit log objectprotected void validateEventBusConnectors(String methodName) throws ConnectorCheckedException
methodName - calling methodConnectorCheckedException - no event bus connectors available.public void start()
throws ConnectorCheckedException
start in class ConnectorBaseConnectorCheckedException - there is a problem within the connector.public void disconnect()
throws ConnectorCheckedException
disconnect in class ConnectorBaseConnectorCheckedException - there is a problem within the connector.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.