apache / apache/pulsar

[Bug] Wild Card subscription doesn't work for non-persistent topics

Open
#24,310 0 comments 0 reactions 0 assignees View on GitHub
type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before reporting

- [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Read release policy

- [x] I understand that [unsupported versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions) don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

### User environment

Broker version : 3.0.11
Broker Operating system and hardware type : Linux x86_64
Broker Java version : 17.0.13
Client library type : java
Client library version: 3.0.11
Client Operating system and hardware type Linux x86_64
Client Java version: 11

### Issue Description

When trying to use topic pattern to create a subscription for non persistent topics, it does not work.

### Error messages

```text
No error is thrown.
```

### Reproducing the issue

Try to create subscription using topic pattern for non persistent topics.

### Additional information

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the Java client and broker on Pulsar 3.0.11, using a topic pattern to create a subscription for non-persistent topics. Trace the client and broker paths involved in that operation; done means the wildcard subscription is created and functions for non-persistent topics, with coverage for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
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.