IBM / sarama

Sarama is a Go library for Apache Kafka.
MIT License
11.21k stars 1.73k forks source link

Docs with examples using tls/ssl by cert files creating a producer and consumer #2931

Closed nenodias closed 2 weeks ago

nenodias commented 2 weeks ago

Description

Docs with examples using tls/ssl by cert files, reading and parsing the files by filesystem and creating a producer and consumer.

Additional context

Another library as librdkafka that's used by kafka-confluent-go has examples about which properties can be used. https://github.com/confluentinc/librdkafka/wiki/Using-SSL-with-librdkafka

nenodias commented 2 weeks ago

I found this example https://github.com/IBM/sarama/blob/main/examples%2Fsasl_scram_client%2Fmain.go and worked for me, closing the issue