Comments (4)
Hi @goupadhy we have not tried any asp.net kafka library.
The requirement to connect to IBM MessageHub Kafka in Bluemix is to support the SASL PLAIN authentication mechanism over an SSL connection.
Of the two libraries you mention, the first is described by the author as a personal pet project.
The second one is based on librdkafka
which supports the options we need except on Windows, where SASL is not implemented
Please see the options set in the node.js console sample that get passed to librdkafka.
AFAIK at the moment, on Windows the best option is to use the Java client.
from event-streams-samples.
Thanks for your response. We are trying to use asp.net core instead of node/java. We are trying to connect from Asp.Net Core application running on Bluemix not windows machine. Is there a way we can talk to message hub from asp.net core that you are aware of?
from event-streams-samples.
Hi @goupadhy we have not looked at asp.net clients.
As https://github.com/ah-/rdkafka-dotnet is based on librdkafka
that seems a candidate.
Please note
1 - the librdkafka
options required to connect , see the kafka-nodejs-console-sample
example, are :
var driver_options = {
//'debug': 'all',
'metadata.broker.list': opts.brokers,
'security.protocol': 'sasl_ssl',
'ssl.ca.location': opts.calocation,
'sasl.mechanisms': 'PLAIN',
'sasl.username': opts.username,
'sasl.password': opts.password
};
2 - At least on the Bluemix buildpack for node.js, librdkafka does not build with SASL enabled because of a missing development library.
Our workaround, again illustrated by the kafka-nodejs-console-sample
example was to deploy a prebuilt binary.
from event-streams-samples.
We're not planning on adding a .Net sample at the moment.
This .Net client should work with Event Streams: https://github.com/confluentinc/confluent-kafka-dotnet as it's based on librdkafka which we know works well
from event-streams-samples.
Related Issues (20)
- Server returned HTTP response code: 403 for URL HOT 2
- any way to avoid the ca_location flag? HOT 4
- ModuleNotFoundError: No module named 'confluent_kafka' HOT 2
- node-rdkafka build/run: dyld: Symbol not found: _timespec_get - MacOS
- Does the event-stream support the schema-registry in IBM public cloud? HOT 2
- starting node sample on windows
- Error: Cannot create 1 partition(s) for topic kafka-nodejs-console-sample-topic HOT 1
- Clarification regarding SASL Authentication with Event Streams HOT 6
- Connectors not listed HOT 2
- Does Event Stream support Spark Kafka Streaming? HOT 2
- Docker build fails for kafka-nodejs-console-sample due to ubuntu:latest base image HOT 2
- improve UX for kubernetes samples by creating secret using --from-file
- k8s lab kafka-java-console-schema-sample fails because image is not on dockerhub HOT 1
- [Question] Out of curiosity, is `ssl.ca.location` now necessary to connect with Event Streams? HOT 8
- kafka-nodejs-console-sample does not build on MacOS Catalina 10.15.6
- Kafka Connect REST API Security HOT 1
- Where Do You Download the PEM Certificate in IBM Cloud HOT 9
- java sample doesn't build with gradle 7 which is latest version as of Apr 09, 2021 HOT 2
- Upgrade the examples to use the ibm supplied APIs
- NodeJS documentation for local confusing when using Cloud Pak for for Integration HOT 1
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 event-streams-samples.