How to deploy multiple StreamBase fragments in the same cluster

How to deploy multiple StreamBase fragments in the same cluster

book

Article ID: KB0079768

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.x

Description

How can I run multiple StreamBase fragments in the same cluster?

Issue/Introduction

How to deploy multiple StreamBase fragments in the same cluster

Resolution

You can do this using a deployment configuration file that defines an array of modules (i.e. StreamBase fragments) in a parent SB application project.  For example..
EventFlowDeployment = {
  modules = [
    {
      moduleName = "com.example.modules.Module1"
      containerName = "containerA"
    }
    {
      moduleName = "com.example.modules.Module2"
      containerName = "containerB"
    }
  ]
}
Refer to the attached sample project set for a working sample (created with SB 10.3.0).
 

Attachments

How to deploy multiple StreamBase fragments in the same cluster get_app