Package io.debezium.connector.mongodb
Class MongoDbStreamingChangeEventSource.ReplicaSetChangeStreamsContext
java.lang.Object
io.debezium.connector.mongodb.MongoDbStreamingChangeEventSource.ReplicaSetChangeStreamsContext
- Enclosing class:
- MongoDbStreamingChangeEventSource
A context associated with a given replica set oplog read operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ReplicaSetOffsetContextprivate final ReplicaSetPartitionprivate final ConnectionContext.MongoPrimaryprivate final ReplicaSet -
Constructor Summary
ConstructorsConstructorDescriptionReplicaSetChangeStreamsContext(ReplicaSetPartition partition, ReplicaSetOffsetContext offsetContext, ConnectionContext.MongoPrimary primary, ReplicaSet replicaSet) -
Method Summary
Modifier and TypeMethodDescription(package private) ReplicaSetOffsetContext(package private) ReplicaSetPartition(package private) ConnectionContext.MongoPrimary(package private) String
-
Field Details
-
partition
-
offset
-
-
replicaSet
-
-
Constructor Details
-
ReplicaSetChangeStreamsContext
ReplicaSetChangeStreamsContext(ReplicaSetPartition partition, ReplicaSetOffsetContext offsetContext, ConnectionContext.MongoPrimary primary, ReplicaSet replicaSet)
-
-
Method Details
-
getPartition
ReplicaSetPartition getPartition() -
getOffset
ReplicaSetOffsetContext getOffset() -
getPrimary
ConnectionContext.MongoPrimary getPrimary() -
getReplicaSetName
String getReplicaSetName()
-