Add support to run Debezium Server and Engine with Quarkus native [DBZ-5652]
- Dominant language
- HTML
- Stars
- 6
- Forks
- 8
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 1
Description
Migrated from [DBZ-5652](https://issues.redhat.com/browse/DBZ-5652)
When attempting to build a Quarkus application using native-mode that contains a reference to {{DebeziumEngine}}, the application compiles but fails to run when executed due to the following problems
* {{ServiceLoader}} pattern loads {{BuilderFactory}}, leading to a "No implementation of Debezim engine builder was found" during start-up.
Requires setting {{quarkus.native.auto-service-loader-registration=true}} in the {{application.properties}} file manually.
* {{ClassNotFoundException}} thrown attempting to load {{org.apache.kafka.connect.json.JsonConverter}}
Explicitly specifying {{Thread.currentThread().getContextClassLoader()}} as the class loader during creation of engine does not satisfy the requirements.
Contributor guide
Assessment
This issue has not been assessed yet.