apache / apache/pulsar

Backlog quota to be based on number of messages

Open
#10,730 3 comments 0 reactions 0 assignees View on GitHub
lifecycle/stale type/enhancement
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 22h
Merged PRs (30d)
142

Description

**Is your enhancement request related to a problem? Please describe.**
Base Backlog quota on the number of messages, not size or time.

**Describe the solution you'd like**
Have the ability to pass a number_of_messages parameter to set-backlog-quota

**Describe alternatives you've considered**
Using time- or size-based quotas - feels hackish.

See #10268 and #9680.

Contributor guide

Open the contributing guide

Research direction

Start with the set-backlog-quota command and read the related discussions in #10268 and #9680. Define the change around accepting a number_of_messages parameter and verify that backlog quota is based on message count rather than size or time.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, distributed-systems
Issue type
Feature
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.