Definition
New in version 7.0: Deletes a named Stream Processor from the current Stream Processing Workspace.
Compatibility
This method is supported in Atlas Stream Processing Workspaces.
Syntax
The sp.processor.drop() method has the following
syntax:
sp.processor.drop( { <options> } )
Command Fields
sp.processor.drop() takes a generic, optional <options> document
whose fields are passed to the underlying drop command.
Behavior
sp.processor.drop() deletes the given named stream processor
from the current stream processing workspace. If you invoke this
command on a currently running stream processor, it stops that
processor before deleting it.
Access Control
The user running sp.processor.drop() must have the
atlasAdmin role.
Example
The following example stops a stream processor named solarDemo
sp.solarDemo.drop()