StreamNative CLI Overview

The StreamNative command-line interfaces (CLIs), including snctl and pulsarctl, enable developers to manage both StreamNative Cloud resources and Pulsar resources.

By leveraging the two CLIs together, you can automate the workflow of managing instances, clusters, tenants, namespaces, topics, and other resources in StreamNative Cloud.

Resources you can manage

by snctl

You can provision or manage the following StreamNative Cloud resources by using snctl:

Generic resources

  • Organization

Infrastructure resources

  • CloudConnection
  • CloudEnvironment
  • PulsarGateway
  • Pool
  • PoolMember

Instance & Cluster resources

  • PulsarInstance
  • PulsarCluster

Security, access control, and observability resources

  • ServiceAccount
  • Role
  • RoleBinding
  • User
  • APIKey

by pulsarctl

You can provision or manage the following Pulsar resources by using pulsarctl:

  • Tenant
  • Namespace
  • Topic
  • Subscription
  • Schema
  • Source
  • Sink
  • Function

Other tools

You can use the other existing tools to interact with your StreamNative clusters.

Pulsar CLI tools

You can use the existing OSS Pulsar CLI tools, such as pulsar-admin, pulsar-client, and pulsar-perf, to manage the Pulsar resources or interact with your StreamNative clusters through the Pulsar protocol.

See Use Pulsar Tools With StreamNative Cloud for more information.

Kafka CLI tools

Apache Kafka CLI tools

Apache Kafka provides a suite of command-line interface (CLI) tools that can be accessed from the /bin directory after downloading and extracting the Kafka distribution. These tools offer a range of capabilities, including starting and stopping Kafka, managing topics, and handling partitions. You can use these tools to interact with your StreamNative clusters through the Kafka protocol.

See Use Kafka Tools With StreamNative Cloud for more information.

kcat

kcat is a popular CLI tool to interact with Apache Kafka. You can use it to interact with your StreamNative clusters as well.

See Use kcat to interact with StreamNative Cloud for more information.

Previous
StreamNative CLI