Skip to content

Help with login using plain username and password #887

Answered by vepsi
vepsi asked this question in Q&A
Discussion options

You must be logged in to vote

Problem solved.

I now have these parameters for constructor and login works:

kafka = Kafka.new(
    [brokers],
    sasl_plain_username: "x",
    sasl_plain_password: "y",
    sasl_over_ssl: true,
    ssl_ca_certs_from_system: true
)

I was missing parameter ssl_ca_certs_from_system and sasl_over_ssl was incorrectly set as false.

-Veli-Pekka

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vepsi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant