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

Antlr version mismatch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.6.0.CR1
    • None
    • debezium-server
    • None

      Debezium server distribution has `lib/antlr4-runtime-4.8.jar` and i believe

      `debezium-ddl-parser-1.5.3.Final.jar` embeds(bundles) antlr4 4.7.2  which is defined by parent pom as version

      restarting debezium server causing following issue, i believe above version mismatch is the reason

      database history recovery step:
       

       Started database history recovery ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.2 used for code generation does not match the cur rent runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.82021-06-17 19:04:41,706 INFO [io.deb.rel.his.DatabaseHistoryMetrics] (pool-4-thread-1) Finished database history recovery of 158 change(s) in 1 271 ms
       

      regardless i believe the antlr4 jar file should match the version defined in parent pom(4.7.2) for consistency

       

      cant find were the antlr 4.8 dependency coming from

       

            gunnar.morling Gunnar Morling
            ismailsimsek ismail simsek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: