-
Notifications
You must be signed in to change notification settings - Fork 801
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
Kafka SASL_PLAINTEXT problem #333
Comments
We just pass SASL configs to Sarama, so this is a little tricky to debug. But can you try one thing for me? Change the sasl profile definition to the following:
I suspect we might have a bad default value for |
Thanks for your help, after this change it started to work correctly. I was trying all possible configurations but I haven’t thought about adding field handshake-first=true to my configuration to override this “default” value :D, so it was a problem with the wrong default value :D The next step I was doing was to connect Burrow with SASL_SSL secured kafka. In documentation there is the note about certfile and keyfile filed which are required. It is not true when you want to connect to SSL secured kafka. The only thing I had to do was to set this:
I found that there is a mistake in documentation, the field there is shown as “no-verify” but correct value is “noverify” like in your code.
This message could be related to any problem, by I already knew that the last thing that was not working was TLS. So changing this field name helped me. |
Yes, that's correct. As far as the value of |
@mikolajmorawski and @toddpalino: does it mean that Burrow does not support Kafka when brokers are configured with SASL_PLAINTEXT ?? I am also running SASL_PLAINTEXT in the environment, and getting Thanks again, Alex |
@mikolajmorawski and @toddpalino can I ask if current release of burrow supports SASL_PLAINTEXT? Thanks so much in advance for replying. |
I haven't explicitly tested it against SASL_PLAINTEXT, so it would depend on the underlying Sarama client support. There was a bug, as noted, in the default value of handshake-first. That hasn't been resolved yet (as noted, we need a PR for it - I haven't done it myself because I'm not using it at present). So I would make sure that that config is explicitly set to true in the SASL profile section of the config. |
Thanks for reply @toddpalino . Yes, config is explicitly set to true.
...it is bugging out nevertheless :( Thanks again.. |
Hi @toddpalino I'm trying to go through a similar route... SASL_PLAINTEXT + Keytab . How can I tell burrow to use this configuration? I've made kinit and the start burrow, but as soon as I define a sasl profile the startup starts failing
If I don't define one then I get
Am I missing something? I don't see any other reference to this setup in the configuration notes. Thanks! |
@toddpalino , I'm also interested in keytab authentication. Did you find a solution ? Best, |
Didn't ever see an update here. So, can Burrow auth using SASL_PLAINTEXT + Keytab ? Thanks much! |
Same Q here - Can we do SASL_SSL + Kerberos |
I cannot get sasl + scram to work, with latest burrow. sarama added scram in its 1.22.1 and latest burrow does use that version. I get the same error '"failed to start client","type":"module","coordinator":"cluster","class":"kafka","name":"local","error":"kafka: client has run out of available brokers to talk to (Is your cluster reachable?)"' Can anyone let me know what config I need to do inorder for it to work? |
@tsrikanth06 Does this help at all? |
Hello @rja1 |
Hi,
I am trying to configure Burrow with Kafka SASL. I am using kafka image from wurstmeister with the following configuration:
jaas.conf:
And Burrow with the following configuration:
When i turn off SASL_PLAINTEXT on Kafka, Burrow starts with success and is connected to kafka brokers. With this configuration i get the following error during burrow<->kafka connection:
The text was updated successfully, but these errors were encountered: