Skip to content

PIP-476: Extensible Key_Shared Dispatcher Mechanism#25726

Open
liangyepianzhou wants to merge 1 commit intoapache:masterfrom
liangyepianzhou:pip-476
Open

PIP-476: Extensible Key_Shared Dispatcher Mechanism#25726
liangyepianzhou wants to merge 1 commit intoapache:masterfrom
liangyepianzhou:pip-476

Conversation

@liangyepianzhou
Copy link
Copy Markdown
Contributor

Related: PIP-474 PR #25706 discussion

Motivation

The community consensus reached during the PIP-474 discussion is that new dispatching strategies (such as Hot Key Overflow) should be developed and validated as standalone Dispatcher implementations, rather than being embedded into the core class as conditional branches. This requires addressing three prerequisites:

  1. Method visibility: Core methods are private, preventing subclass overrides
  2. Instantiation entry point: PersistentSubscription has hardcoded creation logic, making it impossible to load third-party implementations
  3. Lifecycle awareness: Custom Dispatchers may manage additional resources (e.g., auxiliary ManagedLedgers) that need cleanup upon subscription deletion or topic unloading

@github-actions github-actions Bot added the PIP label May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant