message-hub

Error: Invalid value “sasl_ssl” for configuration property “security.protocol”

好久不见. 提交于 2020-02-04 07:28:12
问题 I'm using node-rdkafka to connect to IBM MessageHub with the following options: var options = { // 'debug': 'all', 'metadata.broker.list': brokers, 'security.protocol': 'sasl_ssl', 'ssl.ca.location': '/etc/ssl/certs', 'sasl.mechanisms': 'PLAIN', 'sasl.username': username, 'sasl.password': password, 'api.version.request': true, 'broker.version.fallback': '0.10.2.1', 'log.connection.close': false, 'dr_msg_cb': true } The client is running on IBM Kubernetes Service pod (Ubuntu). Please advice.

Error: Invalid value “sasl_ssl” for configuration property “security.protocol”

梦想与她 提交于 2020-02-04 07:27:12
问题 I'm using node-rdkafka to connect to IBM MessageHub with the following options: var options = { // 'debug': 'all', 'metadata.broker.list': brokers, 'security.protocol': 'sasl_ssl', 'ssl.ca.location': '/etc/ssl/certs', 'sasl.mechanisms': 'PLAIN', 'sasl.username': username, 'sasl.password': password, 'api.version.request': true, 'broker.version.fallback': '0.10.2.1', 'log.connection.close': false, 'dr_msg_cb': true } The client is running on IBM Kubernetes Service pod (Ubuntu). Please advice.

MessageHub - api for creating topics?

和自甴很熟 提交于 2019-12-25 14:12:59
问题 In the bluemix web console, it is possible to create topics. However, is it possible to create topics using a REST API? I couldn't see documentation online - maybe I missed it. 回答1: @SHC no worries, it is easy to miss. Try here for a brief mention and link to the Swagger document for the topic administration API: https://console.ng.bluemix.net/docs/services/MessageHub/messagehub010.html#messagehub037 The docs are currently been restructured to improve discoverability. Feel free to come back

MessageHub - api for creating topics?

痞子三分冷 提交于 2019-12-25 14:12:26
问题 In the bluemix web console, it is possible to create topics. However, is it possible to create topics using a REST API? I couldn't see documentation online - maybe I missed it. 回答1: @SHC no worries, it is easy to miss. Try here for a brief mention and link to the Swagger document for the topic administration API: https://console.ng.bluemix.net/docs/services/MessageHub/messagehub010.html#messagehub037 The docs are currently been restructured to improve discoverability. Feel free to come back

How do you connect NIFI to IBM MessageHub through PublishKafka processor?

谁说胖子不能爱 提交于 2019-12-24 08:00:10
问题 I am trying to connect NIFI to IBM MessageHub but I am not getting any connection working. Does anyone have a working example on how to configure it? I get a timeout exception in the bulletinboard. I have configured a PublishKafka_0_11 1.4.0 processor . Configured it as SASL_SSL, added standard ssl context service, added the jaas.conf KafkaClient { org.apache.kafka.common.security.plain.PlainLoginModule required serviceName="Message Hub-bq" username="xxxxxx" password="xxxxxx"; }; And in the

How to get an API key for MessageHub's management rest API?

空扰寡人 提交于 2019-12-13 07:23:32
问题 I need to programmmtically create topics - see my other question here: MessageHub - api for creating topics? The MessageHub Management API requires an apiKey to interact with it. How do I generate an API key? I'm guessing this is a generic bluemix authentication service, but I'm not sure where this resides or how I can interact with it. 回答1: Go to the Bluemix console and navigate to Message Hub’s Bluemix dashboard by clicking on your service. Then switch to the “Service Credentials” tab and

Bluemix API to retrieve the service credentials

南楼画角 提交于 2019-12-12 19:06:28
问题 In a previous question, I can get the apiKey for interacting with the MessageHub management api. I'm not binding to this service to a Bluemix application, so I don't have access to the VCAP_SERVICES environment variable in my application. I would like to retreive the service credentials programatically. I think this may be a generic Bluemix cf api question rather than a MessageHub question. How can I retrieve the service credentials using an API call? 回答1: Sadly because BlueMix runs a version

why do I need to poll message hub?

天涯浪子 提交于 2019-12-12 04:19:33
问题 I am looking at the node-js express example for message-hub on blue mix and am puzzled for why I need to poll message hub from my server. I thought that the whole idea behind a pub-sub model is that I don't have to (over) load my server polling the message service to find out if new messages exist for me to consume. In the example provided, lines 211-213 in the app.js file contain the following: // Set up an interval which will poll Message Hub for // new messages on the 'livechat' topic.

IBM message hub communciation with C# confluent api

北城余情 提交于 2019-12-12 04:18:30
问题 I have been trying to find documentation to connect to IBM Message Hub through C# Apache Kafka Confluent API, but have not been successful. The official repo on github does not have sample for C#. Has anyone been able to communicate to ibm message hub using C#, if yes can you share the process. Thanks. Update: I have had success in communicating with the IBM Message Hub. Libraries: librdkafka -... 0.11.0-RC2 Certificate From : https://curl.haxx.se/docs/caextract.html Confluent.kafka.dll

Why kafka-python fails to connect to Bluemix message hub service?

浪子不回头ぞ 提交于 2019-12-10 21:05:13
问题 I'm trying to connect to a Bluemix Message Hub instance on http://bluemix.net. This simple script #!/usr/bin/env python from kafka import KafkaProducer from kafka.errors import KafkaError kafka_brokers_sasl = [ "kafka01-prod01.messagehub.services.us-south.bluemix.net:9093", "kafka02-prod01.messagehub.services.us-south.bluemix.net:9093", "kafka03-prod01.messagehub.services.us-south.bluemix.net:9093", "kafka04-prod01.messagehub.services.us-south.bluemix.net:9093", "kafka05-prod01.messagehub