apache / apache/pulsar

Connection issue when backlog quota is exceeded - unable to consume

Open
#11,250 1 comment 0 reactions 0 assignees View on GitHub
lifecycle/stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 22h
Merged PRs (30d)
142

Description

It seems that there's an edge case that's not handled properly when a backlog quota is exceeded.
The clients aren't able to connect, and I understand that they shouldn't be able to produce, but consumption gets blocked as well, even if the downstream topic has no subscribers (so the messages should be easily consumed, thus resolving the backlog.)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the case where a backlog quota is exceeded and clients cannot consume, especially when the downstream topic has no subscribers. Trace the quota and connection handling involved in that scenario. Done means consumption remains possible while production is blocked, allowing the backlog to drain.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.