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 =


 * IBM Sterling B2B: Create a Business Process to put a file in Kafka


 * | Create a Business Process to Consume (get) a file from Kafka

= Create a Custom Protocol in SFG to use with Kafka =


 * https://github.com/ebasso/sterling-b2b-samples/tree/master/filegateway-scenarios/route-via-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

Now this adapter will use BP KafkaStreamServiceMailbox to monitor topics and write to mailboxes.

         Yes     

= Check Topics and messages =

To check Topics and messages i using Kowl



= Ver também =