Giter Site home page Giter Site logo

Comments (6)

manesioz avatar manesioz commented on July 29, 2024 1

Apologies, I have been recently side-tracked by other work and have not implemented your solution yet. I will try this soon and get back to you, thanks!

from event-streams-samples.

manesioz avatar manesioz commented on July 29, 2024

cc @mimaison :)

from event-streams-samples.

mimaison avatar mimaison commented on July 29, 2024

See the required configurations in https://github.com/ibm-messaging/event-streams-samples/blob/master/kafka-nodejs-console-sample/app.js#L145-L156

It looks like you're setting security.protocol incorrectly. It should be set to sasl_ssl.

from event-streams-samples.

manesioz avatar manesioz commented on July 29, 2024

Thanks for the quick reply.
When I used that I got the error

Error: Invalid value "sasl_ssl" for configuration property "security.protocol"

My node-rdkafka version is 1.2.2, with features

[ 'gzip',
  'snappy',
  'sasl',
  'regex',
  'lz4',
  'sasl_gssapi',
  'sasl_plain',
  'plugins' ]

Should I downgrade versions? Odd considering the docs show that security.protocol can have values plaintext, ssl, sasl_plaintext, sasl_ssl.

Edit: I also can't seem to find any information for the param ssl.ca.location, is that found on the credentials page of the event stream?

from event-streams-samples.

mimaison avatar mimaison commented on July 29, 2024

It looks like you're missing SSL support. See the required dependencies https://github.com/ibm-messaging/event-streams-samples/blob/master/docs/librdkafka.md

I recommend looking at the sample application we provide to get familiar with the required configurations and the different options. For example, ssl.ca.location is mentioned in https://github.com/ibm-messaging/event-streams-samples/blob/master/kafka-nodejs-console-sample/app.js#L70-L73

from event-streams-samples.

mimaison avatar mimaison commented on July 29, 2024

@manesioz Did you get it working? Can we close this issue?

from event-streams-samples.

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.