Skip to content

Missing admin client for Apache Pulsar. Autogenerated from Swagger definitions.

License

Notifications You must be signed in to change notification settings

tealtools/pulsar-admin-client-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pulsar-admin-client-js

Missing admin client for Apache Pulsar. Autogenerated from Swagger definitions.

Motivation

At the time of May 26, 2022, the official Pulsar client for Node doesn't support Pulsar admin API that can be used for editing tenants, namespaces, etc.

For our project we needed it to setup better test environment.

Usage

npm i pulsar-admin-client
import * as pulsarAdmin from "pulsar-admin-client";

const pulsarAdminClient = new pulsarAdmin.Client({ BASE: "http://localhost:8080/admin/v2" });
  await pulsarAdminClient.tenants.createTenant(
    "new-tenant",
    { allowedClusters: ["standalone"] }
  );

About

Missing admin client for Apache Pulsar. Autogenerated from Swagger definitions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published