apache / apache/pulsar

make internalSetMaxConsumersPerSubscription async

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

Description

**Describe the bug**
A clear and concise description of what the bug is.

make internalSetMaxConsumersPerSubscription async

**To Reproduce**
Steps to reproduce the behavior:
1. create and delete topic frequently
**Expected behavior**
A clear and concise description of what you expected to happen.

you will see there will a waiting forever in internalDeleteTopicForcefully

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by tracing internalSetMaxConsumersPerSubscription and internalDeleteTopicForcefully, then reproduce the issue by creating and deleting a topic frequently. Done means internalDeleteTopicForcefully no longer waits indefinitely and the max-consumers operation behaves asynchronously.

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.