Connecting to kafka with tls

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Connecting to kafka with tls

avilevi
Hi,
Can anyone give me an example for how to use kafka client with tls support ? I must use tls to connect to our kafka 

Thanks in advance 
Avi
Reply | Threaded
Open this post in threaded view
|

Re: Connecting to kafka with tls

Andrey Zagrebin
Hi Avi,

have you tried to setup FlinkKafkaConsumer/FlinkKafkaProducer source/sink [1] 
with Kafka TLS config properties [2]?

Best,
Andrey

[2] https://kafka.apache.org/documentation/#security_configclients

On 23 Dec 2018, at 13:02, Avi Levi <[hidden email]> wrote:

Hi,
Can anyone give me an example for how to use kafka client with tls support ? I must use tls to connect to our kafka 

Thanks in advance 
Avi