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 all processors registered. Optionally filter by name, cluster and namespace.
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 if KUBERNETES
)
--namespace
(should be passed if KUBERNETES
)
--runners
(number of times to deploy while in KUBERNETES
)
From a file:
For IN_PROC
you only need the name, for KUBERNETES
all three:
For IN_PROC
you only need the name, for KUBERNETES
all three:
Update a processor from the command line flags or files. Only for KUBERNETES
:
From a file.
Delete a processor by name, cluster and namespace. For IN_PROC
you only need the name, and for KUBERNETES
all 3 (name, cluster, namespace).
Available only for KUBERNETES
.