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.
To create a new tenant in Pulsar, we need to provide the mandatory parameters:
./bin/pulsar-admin tenants create my-tenantTo list all available tenants in Pulsar, we don't need to provide any additional parameters:
./bin/pulsar-admin tenants listTo get configuration information about a tenant in Pulsar, we need to provide the mandatory parameters:
./bin/pulsar-admin tenants get my-tenantTo delete tenant in Pulsar, we need to provide the mandatory parameters:
./bin/pulsar-admin tenants delete my-tenant