Pulsar Academy

Pulsar Tenants CLI Tutorial

Learn how to manage Tenants using the Pulsar Admin CLI.

Introduction

Tenants are the top-level organizational units for data in Pulsar. They provide logical grouping as well as security and isolation of applications and use cases. Tenants are the parent resource under which your namespaces and topics live. Before you run the commands below, make sure you have started Pulsar.

How to create a Pulsar tenant?

To create a new tenant in Pulsar, we need to provide the mandatory parameters:

  • Tenant name
./bin/pulsar-admin tenants create my-tenant

How to list Pulsar tenants?

To list all available tenants in Pulsar, we don't need to provide any additional parameters:

./bin/pulsar-admin tenants list

How to describe a Pulsar tenant?

To get configuration information about a tenant in Pulsar, we need to provide the mandatory parameters:

  • Tenant name
./bin/pulsar-admin tenants get my-tenant

How to delete a Pulsar tenant?

To delete tenant in Pulsar, we need to provide the mandatory parameters:

  • Tenant name
./bin/pulsar-admin tenants delete my-tenant

Table of Contents

Let's stay in touch

Get notified of new developments or blogposts.
Checkmark icon
You've joined the mailing list!
Oops! Something went wrong while submitting the form.