Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Pulsar

ASecurity

Expert coverage of Apache Pulsar 4.x distributed messaging and streaming platform: broker/BookKeeper architecture, multi-tenancy, subscription types, geo-replication, tiered storage, Pulsar Functions, Pulsar IO connectors, transactions, and topic compaction. Use for \"Pulsar\", \"Apache Pulsar\", \"BookKeeper\", \"bookie\", \"Pulsar broker\", \"Pulsar topic\", \"Pulsar namespace\", \"Pulsar tenant\", \"Pulsar subscription\", \"Exclusive subscription\", \"Shared subscription\", \"Key_Shared\",...

4 stars
0 votes
0 copies
0 views
Added 9/24/2026
devopssqlazuresecurity

Works with

cli

Security Analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned 9/24/2026

$npx -y skills add chrishuffman5/domain-expert --skill pulsar --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pulsar?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Pulsar
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chrishuffman5-pulsar/badge)](https://www.skillsdirectory.com/skills/chrishuffman5-pulsar)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: pulsar
description: "Expert coverage of Apache Pulsar 4.x distributed messaging and streaming platform: broker/BookKeeper architecture, multi-tenancy, subscription types, geo-replication, tiered storage, Pulsar Functions, Pulsar IO connectors, transactions, and topic compaction. Use for \"Pulsar\", \"Apache Pulsar\", \"BookKeeper\", \"bookie\", \"Pulsar broker\", \"Pulsar topic\", \"Pulsar namespace\", \"Pulsar tenant\", \"Pulsar subscription\", \"Exclusive subscription\", \"Shared subscription\", \"Key_Shared\", \"Failover subscription\", \"Pulsar geo-replication\", \"tiered storage Pulsar\", \"Pulsar Functions\", \"Pulsar IO\", \"pulsar-admin\", \"Pulsar proxy\", \"Pulsar transaction\", \"topic compaction\", \"Pulsar SQL\", \"KoP\", \"Kafka on Pulsar\", \"managed ledger\", \"Pulsar schema\"."
license: MIT
---

# Apache Pulsar

This skill covers Apache Pulsar 4.x (4.0 through 4.2), including:

- Broker/BookKeeper separated architecture (stateless brokers, durable storage)
- Multi-tenancy (tenant/namespace/topic hierarchy, resource isolation)
- Four subscription types: Exclusive, Shared, Failover, Key_Shared
- Geo-replication (async and sync, active-active, replicated subscriptions)
- Tiered storage (offloading to S3, GCS, Azure Blob with erasure coding)
- Pulsar Functions (serverless stream processing)
- Pulsar IO (source and sink connectors)
- Transactions (atomic consume-process-produce across topics)
- Topic compaction (latest-value-per-key)
- Schema registry (Avro, JSON, Protobuf, compatibility modes)
- Pulsar SQL (Trino integration for SQL queries on topics)
- KoP (Kafka-on-Pulsar protocol compatibility)

## How to Approach Tasks

1. **Classify** the request:
   - **Architecture / design** -- Load `references/architecture.md` for broker/BookKeeper, multi-tenancy, topics, subscriptions, geo-replication, tiered storage
   - **Best practices** -- Load `references/best-practices.md` for topic design, subscription selection, producer/consumer tuning, geo-replication, security
   - **Troubleshooting** -- Load `references/diagnostics.md` for backlog issues, BookKeeper problems, broker failures, consumer lag, CLI reference

2. **Recommend** -- Provide actionable guidance with `pulsar-admin` commands, broker configuration, and SDK code.

## Core Architecture

### Separated Compute and Storage

```
Producers/Consumers --> Brokers (stateless) --> BookKeeper (bookies, durable storage)
                                             --> Metadata Store (ZooKeeper/etcd/Oxia)
```

Brokers are stateless. BookKeeper provides durable storage via ledgers. Adding/removing brokers requires no data migration.

### Multi-Tenancy
```
Instance --> Cluster --> Tenant --> Namespace --> Topic
```
Tenants define auth, allowed clusters. Namespaces define retention, TTL, backlog quotas, dispatch rates, replication.

### Topic Types
- **Persistent:** `persistent://tenant/namespace/topic` -- stored in BookKeeper
- **Non-persistent:** `non-persistent://tenant/namespace/topic` -- broker memory only
- **Partitioned:** Logical topic backed by N internal partition topics

### Subscription Types

| Type | Consumers | Ordering | Ack | Use Case |
|---|---|---|---|---|
| Exclusive | 1 | Strict global | Cumulative | Single pipeline |
| Shared | Many (round-robin) | None | Individual | Work queue |
| Failover | Many (1 active) | Strict (active) | Cumulative | HA pipeline |
| Key_Shared | Many (per-key) | Per-key | Individual | Per-entity ordering |

## Anti-Patterns

| Anti-Pattern | Why It Fails | Instead |
|---|---|---|
| Batching with Key_Shared | Different keys in same batch break per-key routing | Disable batching or use key-based batching |
| Default BookKeeper config in production | Underperforming storage, GC issues | Tune journal, entry logs, GC per workload |
| Ignoring backlog quotas | Unbounded backlog fills BookKeeper storage | Set namespace backlog quotas with producer_request_hold |
| Single-partition topics for high throughput | Throughput limited to one broker | Use partitioned topics |
| No retention policy | Messages retained forever | Set namespace retention (size + time limits) |

## Reference Files

- `references/architecture.md` -- Broker/BookKeeper layers, multi-tenancy, topics, subscriptions, acknowledgment, batching, chunking, geo-replication, tiered storage, schema registry, transactions, compaction, Pulsar Functions/IO/SQL, KoP
- `references/best-practices.md` -- Topic design, subscription selection, producer/consumer tuning, namespace policies, geo-replication patterns, security, monitoring
- `references/diagnostics.md` -- Backlog growth, BookKeeper issues, broker failures, consumer lag, compaction, geo-replication lag, CLI reference (pulsar-admin)

## Cross-References

- The `overview` skill -- cross-broker comparisons and event-driven architecture design
- The `kafka` skill -- Kafka comparison and migration context

Attribution

chrishuffman5chrishuffman5
View sourceSee grades on GitHubMore from chrishuffman5 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Terraform Module Library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

401991 votes

sematext-otel

Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.

01 votes

Deployment Patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

2699140 votes

Babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

971540 votes

V7 Roster

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

953190 votes
View all in devops →