mailgun / kafka-pixy

gRPC/REST proxy for Kafka
Apache License 2.0
774 stars 118 forks source link

TLS between kafka-pixy and kafka #178

Closed strowk closed 4 years ago

strowk commented 4 years ago

Is it supported? From the look of https://github.com/mailgun/kafka-pixy/blob/v0.17.0/config/config.go I'd guess not (saramaCfg.Net.TLS is not touched, which means it defaults to disabled). If not, this issue is to support it.

horkhe commented 4 years ago

You figure it right. TLS between kafka-pixy and kafka is not supported. It should be relatively easy to implement though: add TLS related parameters to the kafka section of the proxy config, and then apply them when internal sarama client configs are created. Unfortunately I do not have spare circles to work on this. Wanna venture a PR?