@Deprecated @FunctionalInterface public interface OffsetCommitPolicy extends io.debezium.engine.spi.OffsetCommitPolicy
offset storage.| Modifier and Type | Interface and Description |
|---|---|
static class |
OffsetCommitPolicy.AlwaysCommitOffsetPolicy
Deprecated.
An
OffsetCommitPolicy that will commit offsets as frequently as possible. |
static class |
OffsetCommitPolicy.PeriodicCommitOffsetPolicy
Deprecated.
An
OffsetCommitPolicy that will commit offsets no more than the specified time period. |
| Modifier and Type | Method and Description |
|---|---|
static OffsetCommitPolicy |
always()
Deprecated.
|
default OffsetCommitPolicy |
and(OffsetCommitPolicy other)
Deprecated.
Obtain a new
OffsetCommitPolicy that will commit offsets if both this policy AND the other requests it. |
default OffsetCommitPolicy |
or(OffsetCommitPolicy other)
Deprecated.
Obtain a new
OffsetCommitPolicy that will commit offsets if this policy OR the other requests it. |
static OffsetCommitPolicy |
periodic(Configuration config)
Deprecated.
|
static OffsetCommitPolicy always()
always in interface io.debezium.engine.spi.OffsetCommitPolicystatic OffsetCommitPolicy periodic(Configuration config)
default OffsetCommitPolicy or(OffsetCommitPolicy other)
OffsetCommitPolicy that will commit offsets if this policy OR the other requests it.other - the other commit policy; if null, then this policy instance is returned as isdefault OffsetCommitPolicy and(OffsetCommitPolicy other)
OffsetCommitPolicy that will commit offsets if both this policy AND the other requests it.other - the other commit policy; if null, then this policy instance is returned as isCopyright © 2020 JBoss by Red Hat. All rights reserved.