apache / apache/pulsar

Gets the exact number of message backlog for pulsar topic subscription

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

Description

**Is your feature request related to a problem? Please describe.**
The producer's asynchronous sending interface is batch sending, and a backlog is a batch of messages. To get the number of messages in the subscription backlog, you can only view the number of batches in the backlog, but not the exact number of messages. Expect to support getting the exact number of messages backlog.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Pulsar currently exposes subscription backlog counts and where batch counts are calculated. Define the intended exact message-count behavior for asynchronous batch sends, then add coverage for the backlog result; done means a subscription reports messages rather than only batches.

Written by the indexing model from the issue text.

Assessment

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