Giter VIP home page Giter VIP logo

Comments (18)

tmeinlschmidt avatar tmeinlschmidt commented on May 18, 2024 11

@dasch I'm on adding SASL (kerberos) to ruby-kafka right now, as we need it. It seems to be working, so I'll create some pull request soon. Have to add support and tests for SASL_SSL then too.

from ruby-kafka.

kzk avatar kzk commented on May 18, 2024 3

@dasch
Hi, we're running the project called Fluentd (http://www.fluentd.org/), an open source data collector. Currently Fluentd's kafka plugin is contributed by community (https://github.com/htgc/fluent-plugin-kafka), but it uses Poseidon.

Apparently it doesn't work with v0.9, and we're exploring the possibility of rewriting it with ruby-kafka. One requirements we hear from Fluentd users are, they want Kerberos support to publish events to Kafka.

I just saw this ticket but are you now working on this right now? If not, are you open to merge the changes we'll make? I'm just curious how important this is for you at this point. cc/ @repeatedly

from ruby-kafka.

jpaskhay avatar jpaskhay commented on May 18, 2024 3

@tmeinlschmidt We are also in need of this feature for a project we're working on, so we'd be more than happy to help in whatever capacity possible. We were literally about to start doing this ourselves, so we are very thankful to have seen your comment :) We don't have a strong Ruby background on the team but willing to do what we can to help.

We are not currently using SSL, so we may not be able to assist much there, unfortunately.

from ruby-kafka.

tmeinlschmidt avatar tmeinlschmidt commented on May 18, 2024 2

I would like to add PLAIN to SASL auth then as well.

from ruby-kafka.

dasch avatar dasch commented on May 18, 2024 2

Done!

from ruby-kafka.

tmeinlschmidt avatar tmeinlschmidt commented on May 18, 2024 1

Hey all, pushed some initial code for SASL/GSSAPI authentication. Working on adding some more tests and docs.

from ruby-kafka.

fullbearded avatar fullbearded commented on May 18, 2024 1

@dasch when support the SASL/PLAIN? our team will use kafka replace with redis recently. I find only your gem support SASL. if not, I think we will create a new branch for this functionality.

from ruby-kafka.

dasch avatar dasch commented on May 18, 2024

@kzk that sounds great! I'm not working on Kerberos support, so by all means go ahead :-)

If you need help we can set up a call – otherwise, a work-in-progress PR could be a good starting point.

from ruby-kafka.

dasch avatar dasch commented on May 18, 2024

@tmeinlschmidt I think that code is being overly intrusive - can you make a change within the confines of the existing design?

Feel free to create a PR with design changes separately, although I won't promise that I'll merge it.

from ruby-kafka.

tmeinlschmidt avatar tmeinlschmidt commented on May 18, 2024

The problem is - SASL needs to send some kafka messages before any auth can be made. that's the reason I cut ConnectionOperation out from Connection class. Is there any specific part you want to change/rewrite?

from ruby-kafka.

dasch avatar dasch commented on May 18, 2024

@tmeinlschmidt can you start by opening a PR? That makes commenting a lot easier.

from ruby-kafka.

tmeinlschmidt avatar tmeinlschmidt commented on May 18, 2024

@dasch opened #334.

from ruby-kafka.

trthomps avatar trthomps commented on May 18, 2024

+1 for SASL/PLAIN

from ruby-kafka.

theduderog avatar theduderog commented on May 18, 2024

+1 I need SASL/PLAIN support as well.

from ruby-kafka.

dasch avatar dasch commented on May 18, 2024

@tmeinlschmidt would you want to head this or should we let one of these enthusiasts give it a go?

from ruby-kafka.

frencopei avatar frencopei commented on May 18, 2024

any update?now fluentd-plugin-kafa support sasl ? i saw your comments about ruby kafak. it just provides principal and keytab, not krb5.conf, how get kerberos server addr without krb5.conf?

from ruby-kafka.

xidiandb avatar xidiandb commented on May 18, 2024

any update?now fluentd-plugin-kafa support sasl ? i saw your comments about ruby kafak. it just provides principal and keytab, not krb5.conf, how get kerberos server addr without krb5.conf?

same question

from ruby-kafka.

theduderog avatar theduderog commented on May 18, 2024

I think it was done here - #370

from ruby-kafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.