how to use PLAIN authentication to connect the kafka cluster in confluent.cloud ? #908
-
Hi there, I have created a kafka cluster in confluent.cloud. They provide the endpoint, username, and password.
when using
error message: what does that mean? How can I make it work? should I specify a public key? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The example code of Plain authentication likes this.
But I have no idea how to get the pem file. |
Beta Was this translation helpful? Give feedback.
-
update: I have checked their source code of cli tool. the solution is quiet simple.
|
Beta Was this translation helpful? Give feedback.
-
use |
Beta Was this translation helpful? Give feedback.
update: I have checked their source code of cli tool. the solution is quiet simple.
https://github.com/confluentinc/examples/blob/66d7507d39fd64031a49cec97dac82a45a895c61/clients/cloud/ruby/c_cloud.rb#L41