Configure Apache Pulsar geo-replication at the namespace level and verify cross-cluster message delivery

domain: pulsar.apache.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register each cluster in the global metadata store: bin/pulsar-admin clusters create us-east --url http://broker-us-east:8080 --broker-url pulsar://broker-us-east:6650
  2. Create a tenant that is allowed to use both clusters: bin/pulsar-admin tenants create my-tenant --allowed-clusters us-east,eu-west
  3. Create or update the namespace with geo-replication enabled: bin/pulsar-admin namespaces set-clusters my-tenant/my-namespace --clusters us-east,eu-west
  4. Verify replication by producing to a topic on us-east and consuming on eu-west; the replication cursor (a managed cursor named 'pulsar.repl.eu-west') tracks replication progress
  5. Monitor replication lag: bin/pulsar-admin topics stats persistent://my-tenant/my-namespace/orders and check the replicationBacklog field per connected cluster
  6. To exclude specific topics from replication set the namespace replication policy at topic level: bin/pulsar-admin topics set-replication-clusters --clusters us-east persistent://my-tenant/my-namespace/local-only-topic

Known gotchas

Related routes

Configure Apache Pulsar namespace-level message encryption with end-to-end encryption
pulsar.apache.org · 5 steps · unrated
Configure Apache Pulsar message deduplication at the namespace and topic level
pulsar.apache.org · 5 steps · unrated
Configure Apache Pulsar tiered storage to offload old topic data to object storage
pulsar · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans