| Package | Description |
|---|---|
| io.debezium.engine | |
| io.debezium.engine.spi |
| Modifier and Type | Method and Description |
|---|---|
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.using(OffsetCommitPolicy policy)
During the engine's
Runnable.run() method, decide when the offsets
should be committed into the OffsetBackingStore. |
| Modifier and Type | Class and Description |
|---|---|
static class |
OffsetCommitPolicy.AlwaysCommitOffsetPolicy
An
OffsetCommitPolicy that will commit offsets as frequently as possible. |
static class |
OffsetCommitPolicy.PeriodicCommitOffsetPolicy
An
OffsetCommitPolicy that will commit offsets no more than the specified time period. |
| Modifier and Type | Method and Description |
|---|---|
static OffsetCommitPolicy |
OffsetCommitPolicy.always() |
default OffsetCommitPolicy |
OffsetCommitPolicy.and(OffsetCommitPolicy other)
Obtain a new
OffsetCommitPolicy that will commit offsets if both this policy AND the other requests it. |
default OffsetCommitPolicy |
OffsetCommitPolicy.or(OffsetCommitPolicy other)
Obtain a new
OffsetCommitPolicy that will commit offsets if this policy OR the other requests it. |
static OffsetCommitPolicy |
OffsetCommitPolicy.periodic(Properties config) |
| Modifier and Type | Method and Description |
|---|---|
default OffsetCommitPolicy |
OffsetCommitPolicy.and(OffsetCommitPolicy other)
Obtain a new
OffsetCommitPolicy that will commit offsets if both this policy AND the other requests it. |
default OffsetCommitPolicy |
OffsetCommitPolicy.or(OffsetCommitPolicy other)
Obtain a new
OffsetCommitPolicy that will commit offsets if this policy OR the other requests it. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.