| Package | Description |
|---|---|
| io.debezium.engine |
| Modifier and Type | Method and Description |
|---|---|
static <T> DebeziumEngine.Builder<T> |
DebeziumEngine.create(Class<? extends ChangeEventFormat<T>> eventFormat)
Obtain a new
DebeziumEngine.Builder instance that can be used to construct runnable DebeziumEngine instances. |
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.notifying(Consumer<R> consumer)
Call the specified function for every
data change event read from the source database. |
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.notifying(DebeziumEngine.ChangeConsumer<R> handler)
Pass a custom ChangeConsumer override the default implementation,
this allows for more complex handling of records for batch and async handling
|
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.using(ClassLoader classLoader)
Use the specified class loader to find all necessary classes.
|
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.using(Clock clock)
Use the specified clock when needing to determine the current time.
|
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.using(DebeziumEngine.CompletionCallback completionCallback)
When the engine's
Runnable.run() method completes, call the supplied function with the results. |
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.using(DebeziumEngine.ConnectorCallback connectorCallback)
During the engine's
Runnable.run() method, call the supplied the supplied function at different
stages according to the completion state of each component running within the engine (connectors, tasks etc) |
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. |
DebeziumEngine.Builder<R> |
DebeziumEngine.Builder.using(Properties config)
Use the specified configuration for the connector.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.