Package io.debezium.heartbeat
Class HeartbeatFactory<T extends DataCollectionId>
java.lang.Object
io.debezium.heartbeat.HeartbeatFactory<T>
A factory for creating the appropriate
Heartbeat
implementation based on the connector
type and its configured properties.- Author:
- Chris Cranford
-
Field Summary
Modifier and TypeFieldDescriptionprivate final HeartbeatConnectionProvider
private final CommonConnectorConfig
private final HeartbeatErrorHandler
private final SchemaNameAdjuster
private final TopicNamingStrategy<T>
-
Constructor Summary
ConstructorDescriptionHeartbeatFactory
(CommonConnectorConfig connectorConfig, TopicNamingStrategy<T> topicNamingStrategy, SchemaNameAdjuster schemaNameAdjuster) HeartbeatFactory
(CommonConnectorConfig connectorConfig, TopicNamingStrategy<T> topicNamingStrategy, SchemaNameAdjuster schemaNameAdjuster, HeartbeatConnectionProvider connectionProvider, HeartbeatErrorHandler errorHandler) -
Method Summary
-
Field Details
-
connectorConfig
-
topicNamingStrategy
-
schemaNameAdjuster
-
connectionProvider
-
errorHandler
-
-
Constructor Details
-
HeartbeatFactory
public HeartbeatFactory(CommonConnectorConfig connectorConfig, TopicNamingStrategy<T> topicNamingStrategy, SchemaNameAdjuster schemaNameAdjuster) -
HeartbeatFactory
public HeartbeatFactory(CommonConnectorConfig connectorConfig, TopicNamingStrategy<T> topicNamingStrategy, SchemaNameAdjuster schemaNameAdjuster, HeartbeatConnectionProvider connectionProvider, HeartbeatErrorHandler errorHandler)
-
-
Method Details
-
createHeartbeat
-