jamesnetherton opened a new pull request, #9401: URL: https://github.com/apache/camel-quarkus/pull/9401
Fixes #9261 Replaces the hand-maintained Debezium native registrations with build-time discovery, so that new SPIs and renamed classes in Debezium upgrades no longer break native mode silently. * Index the `io.debezium` runtime dependencies (except `debezium-ddl-parser`) and register providers for every `META-INF/services` interface they declare. Services the embedded engine never loads are excluded (component metadata, sink connectors, transformations, Hibernate, Infinispan). `Converter` and `HeaderConverter` providers are always registered. * Register implementations of the plugin types Debezium instantiates from configured class names: `SchemaHistory`, `SourceInfoStructMaker`, `SourceTask`, `TopicNamingStrategy`, `TransactionMetadataFactory`, `TableMappingStorage` and `ReselectColumnCache`. * Reduce the connector processors to their connector-specific registrations. * Remove registrations for classes and resources that no longer exist in Debezium 3.7.0 (`FileDatabaseHistory`, `ConvertingEngineBuilderFactory`, and the `ConvertingAsyncEngineBuilderFactory` and `PostProcessorProducer` service files). * Add `DebeziumConfigurablePluginsTest` to the support deployment module. It fails when a Debezium configuration option of type `CLASS` defaults to a class that is not registered for reflection. It lives outside the integration tests, so it is not part of any test-jar run by the Quarkus Platform. It already found `MemoryReselectColumnCache`, which was not registered before. Verified locally in JVM and native mode with the MongoDB, MySQL, Oracle and PostgreSQL modules of `integration-test-groups/debezium`. SQL Server was not run locally, so CI is its first check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
