Member since
07-24-2022
1
Post
0
Kudos Received
0
Solutions
08-03-2022
07:52 AM
1 Kudo
@venkatpasya Your question is how to use C++ client (librdkafka) client to connect to a Kerberos + SSL authenticated cluster, please refer to the link below https://github.com/edenhill/librdkafka In the Features section, it is mentioned that librdkafka supports SASL (GSSAPI/Kerberos/SSPI, PLAIN, SCRAM, OAUTHBEARER) support. & SSL support For specific examples, click the examples directory, or https://github.com/edenhill/librdkafka/tree/master/examples For more detail: Please take a look at this example https://github.com/confluentinc/examples/tree/master/clients/cloud/c In producer.c, it needs a configuration file config-file, and then calls read_config on line 160 to read line by line from config-file, and finally constructs the object conf. The read_config function is in common.c (from line 42 onwards). config-file can refer to https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md , all parameters are included in this link. What parameters need to be set in the Kerberos + SSL environment, please refer to point 5 in https://github.com/edenhill/librdkafka/wiki/Using-SASL-with-librdkafka . If this information helped you, then it will be appreciated if you will take a moment to click on KUDOS 🙂 Thank you.
... View more