Connections

This page describes the commands to manage connections in Lenses via the CLI.

Viewing connections

lenses-cli connections

Viewing connection details

lenses-cli connections get --name connection-name

Creating a connection

lenses-cli connections create \
    --name SlackConnection \
    --template-name Slack \
    --tag slack \ --tag \connection --tag slack-connection \
    --connection-config '[{"key":"webhookUrl","value":"https://hooks.slack.com/"}]'

Consider using the provision for managing dynamic connections.

Update a connection

lenses-cli connections update --name SlackConnection \
    --tag slack --tag connection --tag slack-connection \
    --connection-config '[{"key":"webhookUrl","value":"https://hooks.slack.com/"}]'

Delete a connection

lenses-cli connections delete --name SlackConnection

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.