Package io.debezium.embedded.spi
Interface OffsetCommitPolicy
- All Superinterfaces:
io.debezium.engine.spi.OffsetCommitPolicy
- All Known Implementing Classes:
OffsetCommitPolicy.AlwaysCommitOffsetPolicy,OffsetCommitPolicy.PeriodicCommitOffsetPolicy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated
@FunctionalInterface
public interface OffsetCommitPolicy
extends io.debezium.engine.spi.OffsetCommitPolicy
Deprecated.
The policy that defines when the offsets should be committed to
offset storage.- Author:
- Randall Hauch
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.AnOffsetCommitPolicythat will commit offsets as frequently as possible.static classDeprecated.AnOffsetCommitPolicythat will commit offsets no more than the specified time period. -
Method Summary
Modifier and TypeMethodDescriptionstatic OffsetCommitPolicyalways()Deprecated.default OffsetCommitPolicyand(OffsetCommitPolicy other) Deprecated.Obtain a newOffsetCommitPolicythat will commit offsets if both this policy AND the other requests it.default OffsetCommitPolicyor(OffsetCommitPolicy other) Deprecated.Obtain a newOffsetCommitPolicythat will commit offsets if this policy OR the other requests it.static OffsetCommitPolicyperiodic(Configuration config) Deprecated.Methods inherited from interface io.debezium.engine.spi.OffsetCommitPolicy
and, or, performCommit
-
Method Details
-
always
Deprecated. -
periodic
Deprecated. -
or
Deprecated.Obtain a newOffsetCommitPolicythat will commit offsets if this policy OR the other requests it.- Parameters:
other- the other commit policy; if null, then this policy instance is returned as is- Returns:
- the resulting policy; never null
-
and
Deprecated.Obtain a newOffsetCommitPolicythat will commit offsets if both this policy AND the other requests it.- Parameters:
other- the other commit policy; if null, then this policy instance is returned as is- Returns:
- the resulting policy; never null
-