How to connect StreamBase applications running in different clusters

How to connect StreamBase applications running in different clusters

book

Article ID: KB0073731

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.x

Description

How can I configure StreamBase applications, running in different clusters, to communicate and exchange tuples?

 

Issue/Introduction

How to connect StreamBase applications running in different clusters.

Resolution

This can be done with messaging adapters such as JMS, FTL, and Kafka.  

Another method is to use container connections in a StreamBase Engine configuration file.  For example..
containerConnections = [
      {
        source = "sb://hostname:port/default.outputstreamname"
        destination = "othercontainer.inputstreamname"
      {
        source = "default.outputstreamname2"
        destination = "sb://hostname:port/othercontainer2.modulename2.inputstreamname2"
      }
    ]
Replace "hostname:port" with the IP address or DNS hostname and the StreamBase Client API port, as configured in the remote node's StreamBase Client API Listener Configuration.

For additional information on the allowed StreamBase URL formats, see documentation section:
  TIBCO Streaming > StreamBase References > Command Reference > sburi

For more details on configuration files in StreamBase 10, see documentation section:
  TIBCO Streaming > Configuration Guide