apache / apache/pulsar-dotpulsar

Support for automatic subscription updates when subscribing with a topic pattern

Open
#258 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
271
Forks
87
PR merge metrics
No merged PRs in 30d

Description

### Description

The recently added feature to support topic pattern subscriptions is not functioning correctly. While the client successfully subscribes to multiple topics using the pattern subscription type, it does not dynamically update the list of subscribed topics. When new topics matching the pattern are added, the client fails to detect them automatically and requires a restart/recreate to recognize the changes.

### Reproduction Steps

1. Subscribe to multiple topics using a pattern-based subscription.
2. Add new topics that match the pattern.
3. Observe that the client does not detect the newly added topics.

### Expected behavior

The client should automatically detect and subscribe to new topics matching the pattern without requiring a restart/recreate.

### Actual behavior

When new topics matching the pattern are added, the client fails to detect them automatically and requires a restart/recreate to recognize the changes.

### Regression?

_No response_

### Known Workarounds

_No response_

### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the implementation of topic-pattern subscriptions and reproduce the behavior by adding matching topics after the client subscribes. Trace how the subscribed-topic list is refreshed, then verify that newly matching topics are detected and subscribed to without restarting or recreating the client.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.