Hi Chris,
yeah, they are comma separated (see the source[1]), for the
`sasl.mechanism` and `sasl.jaas.config` I don't see support for them
in the source code, you're welcome to file an issue or better yet
contribute via pull request support for those, perhaps we could also
have a generic way of adding any number of properties in the
KafkaConfiguration[2],

zoran

[1] 
https://github.com/apache/camel/blob/master/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaComponent.java#L93-L98
[2] 
https://github.com/apache/camel/blob/master/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java

On Sun, Aug 20, 2017 at 10:33 AM, Chris Snow <chsnow...@gmail.com> wrote:
> Thanks Zoran, from the documentation it appears that I need to pass the
> parameters:
>
> brokers=kafka01-prod01.messagehub.services.eu-de.bluemix.net:9093kafka02-prod01.messagehub.services.eu-de.bluemix.net:9093
> ...
> saslMechanism=PLAIN
> securityProtocol=SASL_SSL
> sslProtocol=TLSv1.2
> sslEnabledProtocols=TLSv1.2
> sslEndpointAlgorithm=HTTPS
>
> Strangely, there isn't a comma separating the brokers in the documentation.
> I'm not sure if that is a documentation bug?
>
> Also, I'm still not clear how to set the username and password.  In my
> producer properties, I would use:
>
> sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule
> required username="USERNAME" password="PASSWORD";
>
> See here for a producer.properties sample:
> https://github.com/ibm-messaging/message-hub-samples/blob/master/kafka-java-console-sample/resources/producer.properties
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-Kafka-SASL-plain-with-broker-list-rather-than-zookeeper-tp5811191p5811345.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Zoran Regvart

Reply via email to