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
.
This page describes the commands to manage Connectors in Lenses via the CLI.
The CLI can create, modify, pause, restart and remove Apache Kafka Connect connectors.
Kafka Connect cluster permissions will be applied to the operation.
List the currently deployed connectors, optionally filter by name, cluster and namespace:
The --names
flag displays only the names of the connectors. When used with --unwrap
, it will print each connector name on a separate line in the output.
From a file:
Example file: