Comments (18)
@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.
@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.
@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.
I would like to add PLAIN to SASL auth then as well.
from ruby-kafka.
Done!
from ruby-kafka.
Hey all, pushed some initial code for SASL/GSSAPI authentication. Working on adding some more tests and docs.
from ruby-kafka.
@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.
@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.
@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.
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.
@tmeinlschmidt can you start by opening a PR? That makes commenting a lot easier.
from ruby-kafka.
from ruby-kafka.
+1 for SASL/PLAIN
from ruby-kafka.
+1 I need SASL/PLAIN support as well.
from ruby-kafka.
@tmeinlschmidt would you want to head this or should we let one of these enthusiasts give it a go?
from ruby-kafka.
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.
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.
I think it was done here - #370
from ruby-kafka.
Related Issues (20)
- Support Reporting Metrics to OpenTelemetry HOT 5
- Update latest release on repo landing page. HOT 1
- Offset is getting reset to earliest after getting an "invalid offset" error HOT 1
- Support for KAFKA-4148 / KIP-79 / search offsets by timestamp in Consumer HOT 1
- EOFError when connecting with SCRAM authentication HOT 2
- Extra space in `[Producer ]` prefix of async producer logs HOT 1
- Join request timeout doesn't consider rebalance_timeout HOT 2
- MSK IAM: add support for AssumeRole auto refresh HOT 12
- Kafka emit to Datadog is broken under ruby 3 HOT 2
- Create new configuration to be able to disable '[Producer] Sending' logs. HOT 1
- Why "consumer.each_message..." not looping indefinitely HOT 1
- OutOfOrderSequenceNumberError for async idempotent producer HOT 1
- Infinite loop in Cluster.get_coordinator if CoordinatorNotAvailable occurs HOT 1
- parameter "ssl_verify_hostname" is not used HOT 1
- Unexpected failure during shutdown after disconnect from a restarting Broker HOT 1
- Help: Kafka topics are deleted automatically after sudo systemctl stop kafka is done. HOT 2
- Long term plan for ruby-kafka HOT 1
- https://ruby-kafka-slack.herokuapp.com is not working. HOT 4
- Ruby Kafka Issues with MessageBufferOverFlow HOT 2
- Add support for using ssl_ca_cert as string HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-kafka.