Package io.debezium.connector.sqlserver
Class MaxLsnResult
- java.lang.Object
-
- io.debezium.connector.sqlserver.MaxLsnResult
-
public class MaxLsnResult extends Object
Stores the result from querying the lsn_time_mapping for the highest LSNs.
-
-
Field Summary
Fields Modifier and Type Field Description private LsnmaxLsnThe highest lsn regardless of configuration.private LsnmaxTransactionalLsnThe highest lsn belonging to a valid change transaction as determined bySqlServerConnectorConfig.MAX_LSN_OPTIMIZATIONor default to the same as maxLsn.
-
Constructor Summary
Constructors Constructor Description MaxLsnResult(Lsn maxLsn, Lsn maxTransactionalLsn)
-
-
-
Field Detail
-
maxLsn
private final Lsn maxLsn
The highest lsn regardless of configuration. This should be utilized when querying the CDC tables as using an LSN that is no longer valid can lead to errors.
-
maxTransactionalLsn
private final Lsn maxTransactionalLsn
The highest lsn belonging to a valid change transaction as determined bySqlServerConnectorConfig.MAX_LSN_OPTIMIZATIONor default to the same as maxLsn.
-
-