Interface AsyncEngineConfig

All Superinterfaces:
EmbeddedEngineConfig
All Known Implementing Classes:
AsyncEmbeddedEngine

public interface AsyncEngineConfig extends EmbeddedEngineConfig
Configuration options specific to AsyncEmbeddedEngine.
Author:
vjuranek
  • 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

      static final Field RECORD_PROCESSING_THREADS
      An optional field that specifies the number of threads to be used for processing CDC records.
    • RECORD_PROCESSING_SHUTDOWN_TIMEOUT_MS

      static final Field 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

      static final Field 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 when DebeziumEngine.ChangeConsumer is provided to the engine. In such case the records are always processed sequentially.
    • RECORD_PROCESSING_WITH_SERIAL_CONSUMER

      static final Field RECORD_PROCESSING_WITH_SERIAL_CONSUMER
      An optional field that specifies if the default DebeziumEngine.ChangeConsumer should be created for consuming records or not. If only Consumer is provided to the engine and this option is set to true (the default is false), engine will create default DebeziumEngine.ChangeConsumer and use it for record processing. Default DebeziumEngine.ChangeConsumer implementation is taken from legacy EmbeddedEngine, so this option allows to use almost the same implementation for record processing as EmbeddedEngine. The only difference to EmbeddedEngine is that SMTs will be still run in parallel, even when this option is turned on. This option doesn't have any effect when DebeziumEngine.ChangeConsumer is already provided to the engine in the configuration.
    • TASK_MANAGEMENT_TIMEOUT_MS

      static final Field 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

      static final Field.Set ALL_FIELDS
      The array of all exposed fields.