public static class OffsetCommitPolicy.AlwaysCommitOffsetPolicy extends Object implements OffsetCommitPolicy
OffsetCommitPolicy that will commit offsets as frequently as possible. This may result in reduced
performance, but it has the least potential for seeing source records more than once upon restart.OffsetCommitPolicy.AlwaysCommitOffsetPolicy, OffsetCommitPolicy.PeriodicCommitOffsetPolicy| Constructor and Description |
|---|
AlwaysCommitOffsetPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
performCommit(long numberOfMessagesSinceLastCommit,
Duration timeSinceLastCommit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalways, and, or, periodicpublic boolean performCommit(long numberOfMessagesSinceLastCommit,
Duration timeSinceLastCommit)
performCommit in interface io.debezium.engine.spi.OffsetCommitPolicyCopyright © 2021 JBoss by Red Hat. All rights reserved.