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
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.AnOffsetCommitPolicy
that will commit offsets as frequently as possible.static class
Deprecated.AnOffsetCommitPolicy
that will commit offsets no more than the specified time period. -
Method Summary
Modifier and TypeMethodDescriptionstatic OffsetCommitPolicy
always()
Deprecated.default OffsetCommitPolicy
and
(OffsetCommitPolicy other) Deprecated.Obtain a newOffsetCommitPolicy
that will commit offsets if both this policy AND the other requests it.default OffsetCommitPolicy
or
(OffsetCommitPolicy other) Deprecated.Obtain a newOffsetCommitPolicy
that will commit offsets if this policy OR the other requests it.static OffsetCommitPolicy
periodic
(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 newOffsetCommitPolicy
that 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 newOffsetCommitPolicy
that 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
-