IBM Sterling B2B: Configuring SB2Bi to use Kafka
1) Deploy Kafka: Deploy Kafka as Container
2) Using Kwol create topics
- sb2b-kfk-inbound
- sb2b-kfk-outbound
Put and Get Files from Kafka
Create a Custom Protocol in SFG to use with Kafka
Configure Kafka Consumer Streams Adapter
The Kafka Consumer Streams Adapter connects with a Kafka queue to pull messages continuously.
- Important: key must be the filename of file.
Configuring the Adapter
1) To Create a new Adapter, open Dashboard > Deployment > Configuration
2) Search for Kafka Consumer Stream Service, and click Next
3) Define a name and description, and click Next
4) Define Bootstrap Server and Topic, and click Next
5) In Deserializer, click Next
6) In properties, click Next
7) Choose to write the file to a Mailbox, and click Next
8) Define a Mailbox to write the file , and click Next
9) Click Next and Finish