You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by habdank <ha...@gmail.com> on 2017/03/24 08:53:17 UTC
Camel 2.18.2 Kafka SSL wrong parametrisation
Dears,
I am preparing Kafka endpoint with SSL and I am getting strange error
message.
Unknown
parameters=[{sslKeyStoreLocation=/location/client.truststore.jks,
sslKeyStorePassword=passwd}]
Those parameters are staying definitely in the documentation of the
consumer.
The complete ERROR log is below.
Do you have any hints?
Best regards,
Seweryn.
2017-03-24 09:30:21,823 [main] INFO
org.apache.camel.spring.SpringCamelContext - Apache Camel 2.18.2
(CamelContext: normalProcessingContext) is shutdown in 0.029 seconds
2017-03-24 09:30:21,825 [main] ERROR at.spardat.clj.App - Unable to start
the application
org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route
ProcessKafkaMessages: Route(ProcessKafkaMessages)[[From[kafka:server:909...
because of Failed to resolve endpoint:
kafka://server:9093,server2:9093?consumersCount=2&groupId=mygroup&maxPollRecords=40&pollTimeoutMs=100&securityProtocol=SSL&sslKeyPassword=passwd&sslKeyStoreLocation=%2Flocation%2Fclient.truststore.jks&sslKeyStorePassword=passwd&topic=mytopic
due to: Failed to resolve endpoint:
kafka://server:9093,server2:9093?consumersCount=2&groupId=mygroup&maxPollRecords=40&pollTimeoutMs=100&securityProtocol=SSL&sslKeyPassword=passwd&sslKeyStoreLocation=%2Flocation%2Fclient.truststore.jks&sslKeyStorePassword=passwd&topic=mytopic
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=[{sslKeyStoreLocation=/location/client.truststore.jks,
sslKeyStorePassword=passwd}]
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-18-2-Kafka-SSL-wrong-parametrisation-tp5796070.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel 2.18.2 Kafka SSL wrong parametrisation
Posted by habdank <ha...@gmail.com>.
My mistake. It is not:
sslKey*S*toreLocation
sslKey*S*torePassword
but
sslKey*s*toreLocation
sslKey*s*torePassword
Simple typo :-).
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-18-2-Kafka-SSL-wrong-parametrisation-tp5796070p5796086.html
Sent from the Camel - Users mailing list archive at Nabble.com.