| Package | Description |
|---|---|
| io.debezium.engine |
| Modifier and Type | Method and Description |
|---|---|
<T,V extends SerializationFormat<T>> |
DebeziumEngine.BuilderFactory.builder(ChangeEventFormat<V> format)
Prescribe the output format used by the
DebeziumEngine. |
<S,T,K extends SerializationFormat<S>,V extends SerializationFormat<T>> |
DebeziumEngine.BuilderFactory.builder(KeyValueChangeEventFormat<K,V> format)
Prescribe the output format used by the
DebeziumEngine. |
static <T,V extends SerializationFormat<T>> |
DebeziumEngine.create(ChangeEventFormat<V> format)
Obtain a new
DebeziumEngine.Builder instance that can be used to construct runnable DebeziumEngine instances. |
static <K,V> DebeziumEngine.Builder<ChangeEvent<K,V>> |
DebeziumEngine.create(Class<? extends SerializationFormat<K>> keyFormat,
Class<? extends SerializationFormat<V>> valueFormat)
Obtain a new
DebeziumEngine.Builder instance that can be used to construct runnable DebeziumEngine instances. |
static <T> DebeziumEngine.Builder<ChangeEvent<T,T>> |
DebeziumEngine.create(Class<? extends SerializationFormat<T>> format)
Obtain a new
DebeziumEngine.Builder instance that can be used to construct runnable DebeziumEngine instances. |
static <S,T,K extends SerializationFormat<S>,V extends SerializationFormat<T>> |
DebeziumEngine.create(KeyValueChangeEventFormat<K,V> format) |
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.