| Products | Versions |
|---|---|
| TIBCO Streaming | 10 |
I have two separate StreamBase applications to run in one node so that they run at the same time, but also need to be configured and managed separately.
How can I identify which configuration belongs with which application fragment when they are together in the same Application Archive?
name = "engineOne"
type = "com.tibco.ep.streambase.configuration.sbengine"
version = "1.0.0"
configuration = {
StreamBaseEngine = {
associatedWithEngines = [ "default-engine-for-com.support.SBEngineOne" ]
jvmArgs = [
"-Xmx3g"
"-Xms3g"
"-XX:+UseG1GC"
"-XX:MaxGCPauseMillis=500"
"-XX:ConcGCThreads=1"
]
}
}
name = "engineTwo"
type = "com.tibco.ep.streambase.configuration.sbengine"
version = "1.0.0"
configuration = {
StreamBaseEngine = {
associatedWithEngines = [ "default-engine-for-com.support.SBEngineTwo" ]
jvmArgs = [
"-Xmx12g"
"-Xms12g"
"-XX:+UseG1GC"
"-XX:MaxGCPauseMillis=500"
"-XX:ConcGCThreads=1"
]
}
}
name = "clientForEngineOne"
type = "com.tibco.ep.streambase.configuration.sbclientapilistener"
version = "1.0.0"
configuration = {
ClientAPIListener = {
associatedWithEngines = ["default-engine-for-com.support.SBEngineOne"]
apiListenerAddress = {
portNumber = 10010
}
}
}
name = "clientForEngineTwo"
type = "com.tibco.ep.streambase.configuration.sbclientapilistener"
version = "1.0.0"
configuration = {
ClientAPIListener = {
associatedWithEngines = ["default-engine-for-com.support.SBEngineTwo"]
apiListenerAddress = {
portNumber = 10011
}
}
}
tmp>epadmin serviceprefix=false install node nodename=twoserver.test application=..\SBEngines\target\SBEngines-0.0.1-SNAPSHOT-ep-application.zip
Installing node
...
Deploying application
Engine default-engine-for-com.support.SBEngineOne
Engine default-engine-for-com.support.SBEngineTwo
...
Service name is twoserver.test
Node installed
tmp>epadmin serviceprefix=false servicename=twoserver.test start node
Starting node
Engine application::default-engine-for-com.support.SBEngineOne started
Engine application::default-engine-for-com.support.SBEngineTwo started
...
Node started
tmp>epadmin serviceprefix=false servicename=twoserver.test display stream
Engine = default-engine-for-com.support.SBEngineTwo
Path = default.OutputStream
Type = output
Enqueue = false
Dequeue = true
Total Tuples = 128
Schema = (time timestamp, msg string)
Engine = default-engine-for-com.support.SBEngineOne
Path = default.OutputStream
Type = output
Enqueue = false
Dequeue = true
Total Tuples = 128
Schema = (time timestamp, msg string)