You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/17 14:19:51 UTC

[GitHub] [camel-quarkus] phohomi opened a new issue #3463: quarkus 2.6 - debezium mysql error

phohomi opened a new issue #3463:
URL: https://github.com/apache/camel-quarkus/issues/3463


   Hi,
   
   I've kicked off a new project from the code.quarkus.io website using quarkus 2.6. This project uses the debezium mysql connector, and I get an error when I try to run the project: 
   
   `Producer failure: java.lang.IllegalAccessError: class io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser
    tried to access private field com.mysql.cj.CharsetMapping.COLLATION_INDEX_TO_COLLATION_NAME
    (io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser is in unnamed module of loader
    io.quarkus.bootstrap.classloading.QuarkusClassLoader @1ff4931d; com.mysql.cj.CharsetMapping is in unnamed module of loader 'app')`
   
   I was able to find the following commit "DBZ-3833 Updated mysql-connector-java dependency to 8.0.26" in the debezium project:
   https://github.com/debezium/debezium/commit/f53ab40ddb3f0224be57aae9e7c0cb3ddabd952b
   It says this commit is included in the 1.8.0 final release of debezium, which is included in camel since commit "CAMEL-17490: Upgrade to debezium 1.8"; 3 days ago at the time of writing (the camel pom indicates 3.15.0-SNAPSHOT). Hopefully there will soon be a new release, but looking back the releases slowed down a bit after the release of 3.11 which was an LTS version just like 3.14.
   
   The current camel-quarkus pom indicates 3.14.0 as camel version, so I can only say that you guys are doing a great job, but even then it will take some time before one can expect the camel-quarkus 2.7.0 version which will have camel version 3.15.
   
   I have already tried to downgrade to quarkus 2.5, but without luck. Waiting untill this is resolved doesn't seem to be very interesting to me: I'd like to continue with this project.
   
   Any suggestions as to what I should do?


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] phohomi commented on issue #3463: quarkus 2.6 - debezium mysql error

Posted by GitBox <gi...@apache.org>.
phohomi commented on issue #3463:
URL: https://github.com/apache/camel-quarkus/issues/3463#issuecomment-1014671223


   Hi,
   I was able to get it working by overriding the mysql connector version to a version that is older than the managed version: 8.0.26 was the version with the change which caused this error, so I was able to fix it by setting it to 8.0.25.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] phohomi closed issue #3463: quarkus 2.6 - debezium mysql error

Posted by GitBox <gi...@apache.org>.
phohomi closed issue #3463:
URL: https://github.com/apache/camel-quarkus/issues/3463


   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org