Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

pulsarctl

$ pulsarctl Official Med Risk
StreamNative · Database & Data · Apache-2.0 · macos / linux / windows

Developed by StreamNative, pulsarctl is a fast Go replacement for Java-based pulsar-admin, covering Pulsar tenants, namespaces, topics, schemas, and functions. Commands like pulsarctl topics stats emit JSON natively while list commands support --output=json.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install streamnative/streamnative/pulsarctl
CLI vs MCP Decision CLI Preferred vs MCP

pulsarctl executes sub-second Go admin/stats calls against Pulsar clusters without JVM cold starts.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Fast Go startup, --output=json on list commands, and native JSON on topics stats, though flag availability varies slightly across older subcommands.

  • --output=json on resource listings and native JSON on topics stats
Trust & Safety 20 / 25

Context isolation (pulsarctl context) and JWT/OAuth2 auth are solid, though destructive commands (topics delete, tenants delete) lack --dry-run.

  • Named context switching in ~/.config/pulsar/config
  • No --dry-run on destructive admin calls
Setup & Portability 13 / 15

Single Go binary installable via Homebrew tap and GitHub releases without needing Java/JVM.

  • Avoids JVM dependency of bin/pulsar-admin
Utility & Efficiency 13 / 15

Comprehensive coverage of Pulsar admin REST APIs (tenants, namespaces, topics, functions, connectors, schemas).

  • Full Pulsar cluster and Function admin surface
Maintenance & Lineage 8 / 10

Maintained by StreamNative (streamnative/pulsarctl) under Apache-2.0 license.

  • Official streamnative/pulsarctl repository
Docs & Verifiability 8 / 10

Well-documented subcommand reference on StreamNative docs and built-in --help.

  • Command docs at docs.streamnative.io

Security, Auth & Guardrails

Auth Modes
Config File Env API Key OAuth Browser
Credential Storage

Stores named contexts and JWT/OAuth2/TLS config under ~/.config/pulsar/config, plus --admin-service-url and --token flags.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

Apache-2.0 open-source CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# pulsarctl Agent Rules
- Pass `--output=json` on list commands and verify `pulsarctl context current` before writes.
- Never run `topics delete`, `namespaces delete`, or `topics unload` on production namespaces without explicit approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

List topics in a namespace as JSON
pulsarctl topics list public/default --output=json

Lists all topics under the public/default namespace in structured JSON.

Inspect topic throughput and backlog stats
pulsarctl topics stats persistent://public/default/events

Returns native JSON statistics covering publishers, subscriptions, and message backlogs.

Controlled Writes & Previews

Create a partitioned topic
pulsarctl topics create persistent://public/default/events 4

Creates a Pulsar topic with 4 partitions in the specified namespace.

Strengths for Agents

  • + Eliminates multi-second JVM startup overhead of Apache Pulsar's stock pulsar-admin.
  • + topics stats outputs rich JSON natively and list commands support --output=json.
  • + Supports named contexts plus JWT, OAuth2, and mTLS authentication.

Caveats & Pitfalls

  • ! Requires --admin-service-url or configured context; -o json is not uniform on every single subcommand.
  • ! Large admin surface includes destructive tenant/namespace deletion without --dry-run.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI