Refactor the DebeziumEngineAutoConfiguration so that it auto-creates a DebeziumEngine builder (e.g. DebeziumEngine.Builder<ChangeEvent<byte[], byte[]>>) instance instead of DebeziumEngine<ChangeEvent<byte[], byte[]>>. The creation of the later should be part of the DebeziumReactiveConsumerConfiguration (non-auto) configuration.
This change would make the Debeizum supplier auto-configuration far more versatile and reusable across other Spring projects such as the Spring Integration Debezium Input Channel Adapter.
Refactor the
DebeziumEngineAutoConfiguration
so that it auto-creates a DebeziumEngine builder (e.g.DebeziumEngine.Builder<ChangeEvent<byte[], byte[]>>
) instance instead ofDebeziumEngine<ChangeEvent<byte[], byte[]>>
. The creation of the later should be part of theDebeziumReactiveConsumerConfiguration
(non-auto) configuration.This change would make the Debeizum supplier auto-configuration far more versatile and reusable across other Spring projects such as the Spring Integration Debezium Input Channel Adapter.