-
Notifications
You must be signed in to change notification settings - Fork 627
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
Connect Directly to Kafka Brokers #666
Comments
Hi @kevinswarner Kafka is turning away from zookeeper so I've been working on a local branch with a kafka only Client. Unfortunately, it's not complete yet. I'll try to get some more time to work on it. |
Hello, Would you need some help? |
Thanks for the offer @vidhill. I've been making good progress and pushing updates to kafka-client. It's usable and it passes the tests I've written but I haven't tested in any deployed environments yet. I would like to get more testing and feedback from others before submitting a PR. To test
|
Ok, I will give that a go, it may be a few days before I get back around to this task, but I will report back when I have tried it. |
I will also test this during the week and add some feedback on friday (update: 16.06.17). |
Anybody had a chance to run the new Kafka Client? |
Hi , |
if you are instantiating your own client use |
Below is the code I am using through kafkaClient , Still no success , I get an error saying connection refused |
@khushbookatta in the README for
So try new kafka.KafkaClient({kafkaHost: '10.3.100.196:9092'}); |
Can you add an example to the KafkaClient README? For me it wasn't obvious that arguments have to be passed as an object (altough now that I saw your example above, I also noticed that it says in the Notable Differences |
Thanks for your help . It worked for me . It was mentioned clearly in the readMe file but still I missed it some how, in the hussel of other things.
I can add an example in the README file .
Thanks
Khushboo Katta
Get Outlook for Android<https://aka.ms/ghei36>
From: Zala Herga
Sent: Friday, November 10, 7:55 PM
Subject: Re: [SOHU-Co/kafka-node] Connect Directly to Kafka Brokers (#666)
To: SOHU-Co/kafka-node
Cc: Khushboo Katta, Mention
Can you add an example to the KafkaClient README? For me it wasn't obvious that arguments have to be passed as an object (altough now that I saw your example above, I also noticed that it says in the Notable Differences Constructor accepts an single options object (see below)). I spent way to much time on making this connection to the broker work :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#666 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATIWesreKOLr8wKm1kT5hCTzrwGxgijlks5s1FzDgaJpZM4NRPhu>.
|
this code worked for me |
My company has provided a Kafka environment in AWS, but our DevOps team insists that we should be connecting directly to the Kafka Broker (e.g. 9092). I am able to connect with this approach using kafkacat, but cannot with node-kafka.
The following works...
But, when I run my code using kafka-node, it does not work.
Still no luck, although the above does work on my local Kafka instance (installed on Mac OSX following standard instructions on Kafka.org.)
I appreciate any help on this issue? Thank you!
Kevin
The text was updated successfully, but these errors were encountered: