我在为mondodb debezium配置camel路由时遇到此错误。
org.apache.camel.reifier.AbstractReifier.resolveEndpoint(AbstractReifier.java:195)
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:96)
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76)
... 29 more\r\nCaused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
debezium-mongodb://MY-EVENT-LISTENER?mongodbHosts=abc-de-u1234.net%3A27017
&mongodbName=myMongoDb
&mongodbPassword=xxxxxx
&mongodbUser=xxxxxx
&offsetStorageFileName=c%3A%5Ctemp%5Coffset-file-1.dat
&topicPrefix=dbz1 due to:
There are 2 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint.
Unknown parameters=[{mongodbHosts=abc-de-u1234.net:27017, mongodbName=myMongoDb}]
我的gradle依赖是
dependencies {
implementation 'org.apache.camel.springboot:camel-spring-boot-starter:4.0.0'
implementation 'org.apache.camel.springboot:camel-debezium-mongodb-starter:4.0.0'
...
}
期待Maven的帮助来解决这个问题。谢谢.
1条答案
按热度按时间ftf50wuq1#
可用的选项在以下文档中列出:https://camel.apache.org/components/4.0.x/debezium-mongodb-component.html