optiopay / kafka

Go driver for Kafka
https://godoc.org/github.com/optiopay/kafka
MIT License
216 stars 57 forks source link

Add tls #85

Closed e-max closed 6 years ago

e-max commented 6 years ago

Kafka driver will use TLS connection to a kafka server if CA, certificate, and key provided in environment variables.

Note that TLS mode enables only if ALL three parameter (CA, CERT, and KEY) are set.

Next config parameters were added: KAFKA_CA - CA file KAFKA_CERT - certificate KAFKA_KEY - key