Suhas Karanth
06/19/2025, 6:59 AMpulsar_subscription_msg_drop_rate is the metric for "The rate of messages dropped on this subscription (message per second)". When and why would messages be dropped?RunLLM
06/19/2025, 6:59 AMpulsar_subscription_msg_drop_rate metric tracks the rate at which this occurs (messages per second) according to NonPersistentSubscriptionStats.java and NonPersistentSubscriptionStatsImpl.java.
This behavior is specific to non-persistent topics, as persistent topics retain messages until they are acknowledged or expire. For non-persistent topics, if no consumer is connected, messages are not stored and are immediately dropped, which is reflected in the msgDropRate metric. Would you like more detail on how to monitor or interpret this metric?
Sources:
- NonPersistentSubscriptionStats.java
- NonPersistentSubscriptionStatsImpl.java 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.