epadmin-operator
epadmin operator target — Manages StreamBase operators in a running EventFlow module.
DESCRIPTION
Use the operator target to view the current operators in a running module, or to manage custom written operators in a running EventFlow module in a node.
Changing the operation of individual operators should never be needed in an active cluster, but this target's commands might be useful for development, debugging, and troubleshooting purposes. EventFlow operators do not have a defined start-stop life cycle like the one for nodes. This target's commands other than display are restricted to custom Java operators, and do not operate on TIBCO-provided operators.
These commands are not cluster aware, and thus affect only one node at a time; changes to one node are not propagated to peer nodes in a cluster. Consider using the cluster awareness feature of your operator to let it start and stop based on cluster conditions.
The operator target has seven commands:
The designation [
in syntax examples is a reminder that this
command requires either the global parameter sn
|ad
]‑‑servicename
or the ‑‑adminport
and
‑‑hostname
combination to identify the node or cluster
of interest.
epadmin display operator
Displays information lines about operators in a node. This command reports similar information to the legacy sbc list operators command.
epadmin[
display operator epadminsn
|ad
][
display operator --type=map epadminsn
|ad
][
display operator --engine=JVMengine1 epadminsn
|ad
][
display operator --path=default.myModule.myOperator epadminsn
|ad
][
display operator --engine=JVMengine1 --path=default.myModule.myOperatorsn
|ad
]
Example output:
Engine = JVMEngineA Path = default.PreserveBidInfo Type = map Status = STARTED Cluster Aware =
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to display all operators on all engines. |
path
|
Path filter, using StreamBase path notation. | No. The default is to display all operators at all paths. |
type
|
Operator type filter, most usefully using the lowercase name of an operator
type as seen in the Palette View in StreamBase Studio. However, any string
can be a type , to accommodate custom-written
operators with custom types.
|
No. The default is to display all operator types. |
epadmin get operator
Gets a report of the properties and their current settings for custom operators.
get operator get operator --engine=JVMengine1 get operator --path=default.myModule.myOperator get operator --property=myProperty
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to get all properties for all engines. |
path
|
Path filter, using StreamBase path notation. | No. The default is to get all properties at all paths. |
property
|
Property name filter. | No. The default is to get all properties. |
epadmin resume operator
Resumes a previously suspended custom operator. TIBCO-provided operators cannot be resumed.
epadmin[
resume operator epadminsn
|ad
][
resume operator --engine=JVMengine1 epadminsn
|ad
][
resume operator --path=default.myModule.myOperator epadminsn
|ad
][
resume operator --engine=JVMengine1 --path=default.myModule.myOperatorsn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to resume all custom operators on all engines. |
path
|
Path filter, using StreamBase path notation. | No. The default is to resume all custom operators at all paths. |
epadmin set operator
Sets property values for custom operators.
epadmin[
set operator --property=myProperty --value=hello epadminsn
|ad
][
set operator --engine=JVMengine1 --property=myProperty --value=hello epadminsn
|ad
][
set operator --path=default.myModule.myOperator --property=myProperty --value=hellosn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to set the property for all engines. |
path
|
Path filter, using StreamBase path notation. | No. The default is to set the property at all paths. |
property
|
Property name. | Yes. |
value
|
Property value. | Yes. |
epadmin start operator
Starts a previously stopped custom operator. TIBCO-provided operators cannot be started.
epadmin[
start operator epadminsn
|ad
][
start operator --engine=JVMengine1 epadminsn
|ad
][
start operator --path=default.myModule.myOperator epadminsn
|ad
][
start operator --engine=JVMengine1 --path=default.myModule.myOperatorsn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to start all custom operators on all engines. |
path
|
Path filter, using StreamBase path notation. | No. The default is to start all custom operators at all paths. |
epadmin stop operator
Stops a previously started custom operator. TIBCO-provided operators cannot be stopped.
epadmin[
stop operator epadminsn
|ad
][
stop operator --engine=JVMengine1 epadminsn
|ad
][
stop operator --path=default.myModule.myOperator epadminsn
|ad
][
stop operator --engine=JVMengine1 --path=default.myModule.myOperatorsn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to stop all custom operators on all engines. |
path
|
Path filter, using StreamBase path notation. | No. The default is to stop all custom operators at all paths. |
epadmin suspend operator
Suspends a previously started custom operator. TIBCO-provided operators cannot be suspended.
epadmin[
suspend operator epadminsn
|ad
][
suspend operator --engine=JVMengine1 epadminsn
|ad
][
suspend operator --path=default.myModule.myOperator epadminsn
|ad
][
suspend operator --engine=JVMengine1 --path=default.myModule.myOperatorsn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine
|
Engine name filter. | No. The default is to suspend all custom operators on all engines. |
path
|
Path filter, using StreamBase path notation. | No. Default suspend all custom operators at all paths. |