Open lujiwen opened 2 years ago
What is your Pulsar version? I didn't reproduce the behavior in v2.9.2
@Radiancebobo I am using 2.10.0, I looked into the related source code, but I can not find how pulsar broker persist these metrics
@lujiwen pulsar count number of entries. Did you enabled batching in producer side?
@yapxue yes I did
@Radiancebobo @yapxue I see, do you mean the msgBacklog is the number of batches of messages in backlog if I enable batch and send messages in batch from producer to broker? so the actual number of individual messages is batchsize * msgBacklog, right? and the same story for the "msgRateOut".
The issue had no activity for 30 days, mark with Stale label.
Describe the bug the msgBacklog is not accurate after restarts and request msgBacklog for subscription even specify --get-precise-backlog
To Reproduce Steps to reproduce the behavior:
Expected behavior the msgBacklog can indicate the precise backlog in a subscription in any case.