Topic admin operations doesn't work well for non-persistent partitioned topics
Open
lifecycle/stale
type/bug
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 142
Description
**Describe the bug**
See changes of `pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/AdminApiTest.java` in https://github.com/apache/pulsar/pull/10601 for details.
1. `getList` would return 0 even if a partitioned topic was created
2. `deleteSubscription` may throw `NotFoundException`
3. `getSubscriptions` may return an empty list
4. the `subscriptions` field of what `getPartitionedStats` returns may contain nothing
**To Reproduce**
The `AdminApiTest` wouldn't pass if check for `isPersistent` was removed.
**Expected behavior**
After check for persistent domain was removed, `AdminApiTest` should pass.
Contributor guide
Assessment
This issue has not been assessed yet.