Imported projects
Before you can deploy the flows there are some setup steps that need to be completed.
- Within your own Apache Kafka server, e.g. IBM Bluemix Message Hub Service, record the Bootstrap server name. Create a topic if you don't already have one and remember its name ready for step 3.
- If you are using Message Hub, the connection from IIB must be secured using SASL_SSL. Open the Message Hub Service Credentials and remember the user and password ready for step 5.
- Open message flows KafkaProducerFlow.msgflow and KafkaConsumerFlow.msgflow. Make the following changes to the Kafka nodes.
- Topic name* set this to the one that you created on your Kafka server.
- Bootstrap servers* set this to the one listed in the Credentials above.
- If using Message Hub, switch to the Security tab and set the Security protocol to be "SASL_SSL" and leave the default value for SSL protocol to be "TLSv1.2".
- Within the KafkaConsumerFlow.msgflow you will also need to change the File Output node, Directory and File name.
- If you are using IBM Bluemix Message hub or if your Kafka Server needs to authenticate the connection from IIB, then you will need to issue the following command from the IIB Command Console.
- mqsisetdbparms integrationNodeName -n kafka::KAFKA::integrationServerName -u user -p password
- Restart the Integration Node.
You are now ready to exercise the flows. To exercise the flows move onto the Run tab.