JiriOndrusek commented on issue #1190:
URL: https://github.com/apache/camel-quarkus/issues/1190#issuecomment-736320968


   After investigation it seems that it is not possible to have working jvm 
tests for debezium mongodb. Here are reasons:
   
   - Camel-quarkus uses mongodb version from quarkus. Which brings driver of 
version **4.x** - 
https://github.com/apache/camel-quarkus/commit/d07e2a5ec7dc964c660dde3d7edc2cc1a3be9fdc#diff-2cdf2d35793fae7cd8f70171d04de916f2a6c295b19f099a0aea50589be615b4R442
   - Connection to mongodb from component is provided by 
`io.debezium:debezium-connector-mongodb:jar:1.3.0.Final`, which will support 
driver 4.x from version 1.4 (https://issues.redhat.com/browse/DBZ-2138)
   
   Moreover current debezium mongodb extension does not work in JVM, because it 
uses newer mongodb driver.
   Solution could be to exclude all new mongodb dependencies and use old ones. 
But because versions of such dependencies are restricted by bom. Solution, 
where there are more versions of mongodb driver in bom, should not be possible. 
 (In other words, making jvm debeziom-mongodbwork, would fail all extension 
using mongdb)
   
   @ppalaga  What do you think? I'd suggest to wait with completing extension 
to release of `io.debezium:debezium-connector-mongodb:jar:1.4..x`. It would be 
also nice to remove debezium-mongodb from extension-jvm, because it can not 
work.
   


----------------------------------------------------------------
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.

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


Reply via email to