Package io.debezium.embedded.async
Interface AsyncEngineConfig
- All Superinterfaces:
EmbeddedEngineConfig
- All Known Implementing Classes:
AsyncEmbeddedEngine
Configuration options specific to
AsyncEmbeddedEngine
.- Author:
- vjuranek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Field.Set
The array of all exposed fields.static final int
static final Field
An optional field that specifies how the records will be produced.static final Field
An optional field that specifies maximum time in ms to wait for submitted records to finish processing when the task shut down is called.static final Field
An optional field that specifies the number of threads to be used for processing CDC records.static final int
static final Field
An optional field that specifies if the defaultDebeziumEngine.ChangeConsumer
should be created for consuming records or not.static final Field
An internal field that specifies the maximum amount of time to wait for a task lifecycle operation, i.e.Fields inherited from interface io.debezium.embedded.EmbeddedEngineConfig
CONNECTOR_CLASS, CONNECTOR_FIELDS, DEFAULT_ERROR_MAX_RETRIES, ENGINE_NAME, ERRORS_MAX_RETRIES, ERRORS_RETRY_DELAY_INITIAL_MS, ERRORS_RETRY_DELAY_MAX_MS, OFFSET_COMMIT_POLICY, OFFSET_COMMIT_TIMEOUT_MS, OFFSET_FLUSH_INTERVAL_MS, OFFSET_STORAGE, OFFSET_STORAGE_FILE_FILENAME, OFFSET_STORAGE_KAFKA_PARTITIONS, OFFSET_STORAGE_KAFKA_REPLICATION_FACTOR, OFFSET_STORAGE_KAFKA_TOPIC, PREDICATES, TRANSFORMS, WAIT_FOR_COMPLETION_BEFORE_INTERRUPT_MS
-
Field Details
-
AVAILABLE_CORES
static final int AVAILABLE_CORES -
RECORD_PROCESSING_THREADS_CAP
static final int RECORD_PROCESSING_THREADS_CAP- See Also:
-
RECORD_PROCESSING_THREADS
An optional field that specifies the number of threads to be used for processing CDC records. -
RECORD_PROCESSING_SHUTDOWN_TIMEOUT_MS
An optional field that specifies maximum time in ms to wait for submitted records to finish processing when the task shut down is called. -
RECORD_PROCESSING_ORDER
An optional field that specifies how the records will be produced. Sequential processing (the default) means that the records will be produced in the same order as the engine obtained them from the connector. Non-sequential processing means that the records can be produced in arbitrary order, typically once the record is transformed and/or serialized. This option doesn't have any effect whenDebeziumEngine.ChangeConsumer
is provided to the engine. In such case the records are always processed sequentially. -
RECORD_PROCESSING_WITH_SERIAL_CONSUMER
An optional field that specifies if the defaultDebeziumEngine.ChangeConsumer
should be created for consuming records or not. If onlyConsumer
is provided to the engine and this option is set totrue
(the default isfalse
), engine will create defaultDebeziumEngine.ChangeConsumer
and use it for record processing. DefaultDebeziumEngine.ChangeConsumer
implementation is taken from legacyEmbeddedEngine
, so this option allows to use almost the same implementation for record processing asEmbeddedEngine
. The only difference toEmbeddedEngine
is that SMTs will be still run in parallel, even when this option is turned on. This option doesn't have any effect whenDebeziumEngine.ChangeConsumer
is already provided to the engine in the configuration. -
TASK_MANAGEMENT_TIMEOUT_MS
An internal field that specifies the maximum amount of time to wait for a task lifecycle operation, i.e. for starting and stopping the task. -
ALL_FIELDS
The array of all exposed fields.
-