Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5652

Add support to run Debezium Server and Engine with Quarkus native

    XMLWordPrintable

Details

    • False
    • None
    • False
    • 0
    • 0% 0%

    Description

      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.

      Attachments

        Activity

          People

            ccranfor@redhat.com Chris Cranford
            ccranfor@redhat.com Chris Cranford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: