On Wed, Feb 8, 2017 at 4:40 PM, alex.decastro <[hidden email]> wrote:
Dear flinkers,
I'm consuming from a kafka broker in a server that has ssl authentication
enabled? How do I config my consumer to compy with it?
Many thanks
Alex
--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/kafka-ssl-how-to-enable-ssl-authentication-for-a-new-kafka-consumer-tp11532.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.
Re: #kafka/#ssl: how to enable ssl authentication for a new kafka consumer?
Cool, thanks. Just checked it.
One last question:
if the server hosting my Kafka broker has only SSL enabled, but not SASL (Kerberos) how to go about enabling connection authentication between client consumer and broker?
The Kafka client that the Flink connector uses can be configured through the `Properties` configuration provided when instantiating `FlinkKafkaConsumer`. You just need to set values for these config properties: https://kafka.apache.org/documentation/#security_configclients.
Note that SSL truststore / keystore locations must exist on all of your Flink TMs for this to work.