Package io.debezium.connector.mongodb
Class MongoDbTaskContext
java.lang.Object
io.debezium.connector.common.CdcSourceTaskContext
io.debezium.connector.mongodb.MongoDbTaskContext
- Author:
- Randall Hauch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConnectionContextprivate final MongoDbConnectorConfigprivate final Filtersprivate final Stringprivate final SourceInfoprivate final io.debezium.spi.topic.TopicNamingStrategy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilters()Provides the capture mode used by connector runtime.source()io.debezium.spi.topic.TopicNamingStrategy<CollectionId>Methods inherited from class io.debezium.connector.common.CdcSourceTaskContext
capturedDataCollections, configureLoggingContext, configureLoggingContext, getClock, getConnectorName, getConnectorType, getTaskId, temporaryLoggingContext
-
Field Details
-
filters
-
source
-
topicNamingStrategy
private final io.debezium.spi.topic.TopicNamingStrategy topicNamingStrategy -
serverName
-
connectionContext
-
connectorConfig
-
-
Constructor Details
-
MongoDbTaskContext
- Parameters:
config- the configuration
-
-
Method Details
-
topicNamingStrategy
-
filters
-
source
-
serverName
-
getConnectionContext
-
getConnectorConfig
-
getCaptureMode
Provides the capture mode used by connector runtime. This value can differ from requested configured value as the offets stored might be created by a different capture mode. In this case the configured value is overriden and the mode previously used is restored.- Returns:
- effectively used capture mode
-