Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18427

Camel Debezium with Postgres on Spring Boot doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.13.0, 3.18.1
    • 3.18.3, 3.19.0
    • camel-debezium
    • None
    • Jdk 17

      Windows 10

      Spring boot

    • Unknown
    • Regression

    Description

      From camel 3.13.0 Camel Debezium simply not working is work perfectly with camel older than 3.13.0

      (related to this ticket i think https://issues.apache.org/jira/browse/CAMEL-17135)

      here the code

          @Override
          public void configure() throws Exception {
              String DATABASE_READER = "debezium-postgres:localhost?"
                      + "databaseHostname=localhost"
                      + "&databasePort=5432"
                      + "&databaseUser=postgres"
                      + "&databasePassword=test"
                      + "&databaseDbname=test"
                      + "&databaseServerName=localhost"
                      + "&schemaWhitelist=public"
                      + "&tableWhitelist=public.*"
                      + "&offsetStorageFileName=/tmp/offset-file-1.dat"
                      + "&offsetFlushIntervalMs=10000"
                      + "&pluginName=pgoutput";
              from(DATABASE_READER)
                      .routeId("debeziumPGRoute")
                      .log("Response : ${body}");
          }
      

      I check this changelog

      the pom file

      <dependency>
          <groupId>org.apache.camel</groupId>
          <artifactId>camel-debezium-postgres</artifactId>
      </dependency>
      <dependency>
          <groupId>org.apache.camel.springboot</groupId>
          <artifactId>camel-debezium-postgres-starter</artifactId>
      </dependency>

      Attachments

        1. camel-debezium-postgres.zip
          21 kB
          michael elbaz
        2. image-2022-08-24-12-12-27-542.png
          264 kB
          michael elbaz
        3. image-2022-08-24-12-19-55-853.png
          362 kB
          michael elbaz
        4. image-2022-09-07-08-53-06-942.png
          92 kB
          michael elbaz

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              michael992 michael elbaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: