Questions tagged [message-hub]

Based on Apache Kafka, IBM® Message Hub for Bluemix™ is a scalable, distributed, high throughput message bus to unite your on-premise and off-premise cloud technologies.

Based on Apache Kafka, IBM® Message Hub for Bluemix™ is a scalable, distributed, high throughput message bus to unite your on-premise and off-premise cloud technologies. You can wire microservices together by using open protocols, and you can connect stream data to analytics to realize powerful insights. Check the documentation for more information

98 questions
3
votes
3 answers

Timeout connecting to message-hub on Bluemix

I'm trying to connect to a Message Hub Service. I can connect if I use the REST API but when I try to connect from my Java program there's always a timeout I'm using the next configuration: Properties producerProps = new…
Ruben J Garcia
  • 327
  • 4
  • 13
2
votes
1 answer

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

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':…
B.Tong
  • 33
  • 4
2
votes
1 answer

How to use kafkacat with message-hub

In trying to use kafkacat with message hub, I've used the following: kafkacat -X client.id=xxxxx \ -X sasl.jaas.config='org.apache.kafka.common.security.plain.PlainLoginModule required username="xxxx" password="xxxx";' \ -X…
Zach
  • 43
  • 8
2
votes
2 answers

MirrorMaker Kafka 0.9 connection to Kafka Brokers 0.10 (IBM Message Hub)

I am trying to connect my MirroMaker Kafka 0.9 to the Kafka Brokers 0.10 (IBM Message Hub) without success. The links I have followed are the followings, but they are mostly for Kafka clients…
2
votes
1 answer

Retrieve messages from a topic on a message hub

I am trying to get messages from a topic on a message hub on bluemix using Confluent Kafka Python. My code is found below, but something is not working. The topic and the message hub is up and running, so there is probably something with the…
jawwe
  • 479
  • 1
  • 3
  • 11
2
votes
3 answers

Kafka java.io.EOFException - NetworkReceive.readFromReadableChannel

I'm trying to connect to IBM Message Hub from Apache Spark 2.2.1 Structured Streaming. The connection code is quite basic: import org.apache.spark.sql.functions._ import org.apache.spark.sql.SparkSession val spark =…
Chris Snow
  • 20,818
  • 29
  • 115
  • 263
2
votes
1 answer

IBM Message Hub - after hours of working fine it fails with SASL Handshake not supported by broker (required by mechanism PLAIN)

The following application is a simple consumer which prints all messages to the console. #!/usr/bin/env python import confluent_kafka consumer = confluent_kafka.Consumer({ 'bootstrap.servers': …
Christian Will
  • 1,211
  • 3
  • 16
  • 25
2
votes
1 answer

Create topic in Message-Hub via curl command

I am trying to create a topic in Message-Hub using a curl command. I followed this yaml: https://github.com/ibm-messaging/message-hub-docs/blob/master/kafka-administration-api/KafkaTopicManagement.yaml I'm getting HTTP 405 Method Not Allowed when…
jd76
  • 107
  • 9
2
votes
1 answer

Why am I getting the Kafka Error Failed to initialize SASL authentication: SASL handshake failed when using Node.js client for Message Hub service ?

I am getting the ERROR Failed to initialize SASL authentication: SASL handshake failed (start (-4)): SASL(-4): no mechanism available: No worthy mechs found when trying to use the Message Hub Bluemix service with node-rdkafka Why would this be…
ValerieLampkin
  • 2,570
  • 9
  • 27
2
votes
1 answer

How to purge a Message Hub topic?

Frequently when developing with MessageHub, I find that I want to purge my development data from a topic. How can I purge a MessageHub topic? This question is similar to Purge Kafka Queue but differs because that question is directed at apache kafka…
Chris Snow
  • 20,818
  • 29
  • 115
  • 263
2
votes
2 answers

Bluemix API to retrieve the service credentials

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…
Chris Snow
  • 20,818
  • 29
  • 115
  • 263
2
votes
1 answer

MessageHub - Data Encryption at rest

we need to understand if Bluemix MessageHub supports data encryption at rest. If it does not offer direct support for data encryption at rest, are there any best practices to implement this from a consumer or producer?
D Roy
  • 59
  • 1
2
votes
1 answer

IBM Bluemix Message Hub Producer Message Format

The "Getting started with Message Hub (BETA)" page on bluemix.net indicates that for a Java producer "...the message must be in the following form: [{ "value" : string }, ...] ". I cannot find any reference in the Kafka documentation to this format,…
Gary Gershon
  • 83
  • 1
  • 8
2
votes
2 answers

Partitions on Message-Hub Service from Bluemix

I know there isn't this feature yet but, Will it be provided in the future?
Ruben J Garcia
  • 327
  • 4
  • 13
2
votes
1 answer

FileNotFoundException running the Message Hub example code

When I run the Kafka native Message Hub sample code from https://github.com/ibm-messaging/message-hub-samples I get the following exception: Exception in thread "main" org.apache.kafka.common.KafkaException: Failed to construct kafka producer at…
SimonGormley
  • 182
  • 8