sindhushree
07/22/2025, 5:23 AMRunLLM
07/22/2025, 5:23 AMlastAckedTimestamp field for a reader remains at its default value of 0 in stats and metrics outputs. This behavior is confirmed in the Pulsar codebase and documentation, where only consumers update and report acknowledgment timestamps, not readers (Consumer stats, Reader vs Consumer▾
sindhushree
07/22/2025, 5:27 AMRunLLM
07/22/2025, 5:28 AMlastConsumedTimestamp is always 0 because readers do not update this field—only consumers do. The lastConsumedTimestamp tracks when a consumer last read a message, but for readers (which use non-durable, exclusive subscriptions and do not acknowledge messages), this timestamp remains unset (Consumer stats, Reader vs Consumer▾
sindhushree
07/22/2025, 5:29 AMRunLLM
07/22/2025, 5:29 AMpulsar-admin topics stats command, the REST API, or the Java admin client. For example, with the CLI:
pulsar-admin topics stats persistent://tenant/namespace/topic
This returns detailed stats for all subscriptions on the topic, including message rates, backlog, and timestamps (Admin API Topics - Stats, Administration Stats - Subscription Stats).
Would you like more detail or examples for REST API or Java client usage?
Sources:
- Admin API Topics - Stats
- Administration Stats - Subscription Stats 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.sindhushree
07/22/2025, 5:36 AMRunLLM
07/22/2025, 5:36 AMpulsar-admin topics stats <topic>. Look for high backlog, zero msgRateOut, or low messageAckRate, which indicate consumers are not processing or acknowledging messages. Also, check consumer connection status and logs for errors (Administration Stats - Subscription Stats, Consumer stats).
Would you like more detail on interpreting these stats or troubleshooting consumer issues?
Sources:
- https://pulsar.apache.org/docs/3.2.x/getting-started-docker#consume-a-message
- https://github.com/apache/pulsar/issues/22709 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.sindhushree
07/22/2025, 7:11 AMRunLLM
07/22/2025, 7:11 AMsindhushree
07/22/2025, 7:13 AM