spring-cloud / stream-applications

Functions and Spring Cloud Stream Applications for data driven microservices
https://spring.io/projects/spring-cloud-stream-applications
250 stars 106 forks source link

The Debezium auto-configuration to expose the DebeziumEngine.Builder #458

Closed tzolov closed 1 year ago

tzolov commented 1 year ago

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.