You can configure KafkaProducer and KafkaConsumer nodes to connect to the Message Hub service in IBM® Bluemix™.
IBM Message Hub for Bluemix is a scalable, distributed, high-throughput message bus, which supports a number of client protocols including Kafka. You can use the KafkaProducer and KafkaConsumer nodes in IBM Integration Bus to receive messages from and send messages to IBM Message Hub.
Before you can connect to IBM Message Hub, you must create a set of credentials in Message Hub, which the IBM Integration Bus Kafka nodes will use to make a connection. You then can then use the mqsisetdbparms command to configure the credentials that the KafkaProducer and KafkaConsumer nodes will use to authenticate to Message Hub.
To configure the KafkaProducer or KafkaConsumer node to authenticate using the user ID and password, you set the Security protocol property on the node to SASL_SSL.
For more information about configuring the security credentials for connecting to Kafka clusters, see Configuring security credentials for connecting to Kafka
Follow these steps to configure a connection to IBM Message Hub:
You can use the mqsireportdbparms command to show information about the credentials that are being used for connecting to Message Hub. For more information about the security credentials that have been set on the integration node, see mqsireportdbparms command.