Skip to content
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

Is there way to integrate AUTH mechanisms? #11

Open
trickster opened this issue Dec 21, 2022 · 3 comments
Open

Is there way to integrate AUTH mechanisms? #11

trickster opened this issue Dec 21, 2022 · 3 comments

Comments

@trickster
Copy link

I have been researching about auth mechanism support for kafka. I found that there is rsasl crate for that. We need to figure out how to integrate these two and test the entire system.

https://github.com/dequbed/rsasl/tree/feature/gss-api
https://github.com/dequbed/rsasl/

@tychedelia
Copy link
Owner

This crate is transport agnostic. I'm not totally sure about integration here -- I'm not opposed to adding stuff behind feature flags if it would help integration with other libraries though!

@dequbed
Copy link

dequbed commented Jan 25, 2023

Ohai!

I don't know much about the Kafka protocol, but rsasl is designed to be agnostic of transport too; it will just write the mechanism data into any impl io::Write you hand it (e.g. a Vec<u8>).

I'm currently getting the version 2 out of the door (which is the one you'd want to use), so the latest link on docs.rs will give you the wrong answers. https://docs.rs/rsasl/2.0.0-rc.4/rsasl/index.html is a working link for the current development version though.

@tychedelia
Copy link
Owner

tychedelia commented Jan 25, 2023

@dequbed hiiii! wow, great timing, i was just looking at your crate. i started a (very provisional work in progress) tower implementation here and was planning on working on getting SASL going this weekend. thanks for the heads up i'd love to integrate with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants