Skip to content

[feat][pip] PIP-470: Dynamic Bookie Cluster Switching for Brokers#25774

Open
wolfstudy wants to merge 2 commits into
apache:masterfrom
wolfstudy:pip-470/bookie-cluster-switching
Open

[feat][pip] PIP-470: Dynamic Bookie Cluster Switching for Brokers#25774
wolfstudy wants to merge 2 commits into
apache:masterfrom
wolfstudy:pip-470/bookie-cluster-switching

Conversation

@wolfstudy
Copy link
Copy Markdown
Member

Motivation

Pulsar brokers are statically bound to a single Bookie cluster via
bookkeeperMetadataServiceUri at startup. When the underlying Bookie cluster
hits capacity limits or non-recoverable failures, there is no runtime way to
re-target brokers to another Bookie cluster without restart and full data
migration. This PIP introduces zero-downtime Bookie cluster switching by
attributing each ledger to its owning cluster and routing reads accordingly.

wolfstudy added 2 commits May 14, 2026 20:25
Signed-off-by: xiaolongran <xiaolongran@tencent.com>
Signed-off-by: xiaolongran <xiaolongran@tencent.com>
@wolfstudy wolfstudy self-assigned this May 14, 2026
@wolfstudy wolfstudy added type/PIP doc-not-needed Your PR changes do not impact docs labels May 14, 2026
@github-actions github-actions Bot added the PIP label May 14, 2026
Comment thread pip/pip-470.md
optional int64 timestamp = 4;
optional OffloadContext offloadContext = 5;
optional string bookieClusterName = 6; // ★ new (Topic Data Ledger attribution)
repeated KeyValue properties = 7; // ★ new (extension slot)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have the field properties in PIP-404. And maybe we can also use the field to store bookieClusterName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs PIP type/PIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants