Definition
sp.listStreamProcessors()
New in version 7.0: Returns documents for each named Stream Processor on the current Stream Processing Instance. Each document provides descriptive information including the name, current state, and pipeline of a stream processor.
Compatibility
This method is supported in Atlas Stream Processing Instances.
Syntax
The sp.listStreamProcessors()
method has the following syntax:
sp.listStreamProcessors(
{
<filter>
}
)
Command Fields
sp.listStreamProcessors()
takes these fields:
Field | Type | Necessity | Description |
---|---|---|---|
| document | Optional | Document specifying which fields to filter stream processors on. If you provide a filter, the command will only return those processors which match the values for all the fields you specify. |
Behavior
sp.listStreamProcessors()
returns documents describing all of the named stream processors on the current stream processing instance to STDOUT
.
Access Control
The user running sp.listStreamProcessors()
must have the atlasAdmin
role.
Example
The following example shows an expected response from sp.listStreamProcessors()
when the command is called without any filter:
sp.listStreamProcessors()