-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SSL Encryption #101
Comments
Goka does not implement the communication with Kafka. For that we employ existing libraries. By default, Goka uses sarama, which is pure Go and does support SSL connections. As an alternative, you may also use confluent-kafka-go, which uses |
I see that it's possible with sarama, but the question was more around whether goka will let me configure the TLS options passed to sarama? It may be possible using |
Yes, you can configure sarama with the builders. Check this snippet for an example. |
Perfect this is exactly what I needed. Thanks @db7 |
Hello, I've opened an issue related to Sarama's SSL inside goka, could you please elaborate on that? @db7 The link you've provided contains outdated docs – there's no way to configure anything but Sarama for goka now. And it simply doesn't work with SSL enabled, while works locally in plaintext (please, look at the issue for details). |
@frairon ^ |
Hi, looking through the library it looks like it doesn't support encrypted traffic to kafka:
https://docs.confluent.io/current/kafka/authentication_ssl.html
Would this be difficult to implement?
The text was updated successfully, but these errors were encountered: