SQL Processors
This page describes the commands to manage SQL Processors in Lenses via the CLI.
The CLI can create, modify, pause, restart and remove Lenses SQL Processors.
View processors
View all processors registered. Optionally filter by name, cluster and namespace.
Create processors
For IN_PROC you only need the name, for KUBERNETES all three. Creating an IN_PROC processor will start it automatically. This is not the case for Kubernetes deployments, a start command (see below) is required once created.
--id
(the processor id, optional)--name
(optional)--cluster-name
(should be passed ifKUBERNETES
)--namespace
(should be passed ifKUBERNETES
)--runners
(number of times to deploy while inKUBERNETES
)
From a file:
Stop a processor
For IN_PROC
you only need the name, for KUBERNETES
all three:
Start a processor
For IN_PROC
you only need the name, for KUBERNETES
all three:
Update the number of runners
Update a processor from the command line flags or files. Only for KUBERNETES
:
From a file.
Delete a processor
Delete a processor by name, cluster and namespace. For IN_PROC
you only need the name, and for KUBERNETES
all 3 (name, cluster, namespace).
View processors logs
Available only for KUBERNETES
.
Last updated