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 TopicSelector<CollectionId> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.debezium.connector.common.CdcSourceTaskContext
capturedDataCollections, configureLoggingContext, configureLoggingContext, getClock, getConnectorName, getConnectorType, getTaskId, temporaryLoggingContext
-
Field Details
-
filters
-
source
-
topicSelector
-
serverName
-
connectionContext
-
connectorConfig
-
-
Constructor Details
-
MongoDbTaskContext
- Parameters:
config- the configuration
-
-
Method Details
-
topicSelector
-
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
-