Menu

1 / 2

Moving Apache Pulsar to a New Cluster Without Losing Functions, Sources and Sinks

DEV Community: ai·Pavel·about 6 hours ago
#IgmyJj8z
#devtoai#devto#dev#shop#orders
Long article (4525 words) — no AI summary yet.
Reading 0:00
15s threshold

Moving Pulsar looks simple until you list what lives inside it:

⚡ Functions that someone deployed from a laptop last spring

🔌 Sources and sinks quietly moving data in and out

🔐 Permissions on namespaces and topics

⚙️ Policies : retention, TTL, deduplication, backlog quotas, schema compatibility

Kurkik writes all of it into one AsyncAPI document you can compare with and sync from

curl -fsSL https://kurkik.pavelon.dev/install.sh | sh

Enter fullscreen mode

Exit fullscreen mode

The scenario

Two clusters from the demo sandbox : shop-prod is the old home, shop-dr is the new one. The new cluster has the shop/orders namespace and not much else: no policies, no permissions, no processors, 8 partitions where there should be 6, and a leftover legacy topic

I added to the demo for this post: an audit-log sink on shop-prod , and package management on shop-dr

Step 1: say which package each processor runs

This is the part everybody misses.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.