sindhushree
09/15/2025, 9:08 AMRunLLM
09/15/2025, 9:08 AMpulsar-admin topics stats command with the --get-earliest-time-in-backlog (or -etb) option. This will return the publish time of the oldest unacknowledged message in the backlog. For example:
pulsar-admin topics stats my-topic --get-earliest-time-in-backlog
This option is also available via the REST API and Java admin client. For partitioned topics, use partitioned-stats with the same option. More details are in the official docs and code references: Pulsar Admin API Topics, CmdTopics.java, and GetStatsOptions.java.
Would you like more detail or code examples for a specific client?
Sources:
- Pulsar Admin API Topics
- CmdTopics.java
- GetStatsOptions.java 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.sindhushree
09/15/2025, 9:20 AMRunLLM
09/15/2025, 9:20 AMsindhushree
09/15/2025, 9:22 AMRunLLM
09/15/2025, 9:22 AMorg.apache.bookkeeper.replication.ReplicationWorker.run is repeatedly failing to replicate ledger 549343, and after 158 failed attempts, it is deferring the ledger lock release by 300,000 milliseconds (5 minutes). This is standard behavior: after each failure, ReplicationWorker increases the delay before retrying, up to a configured maximum, to avoid overwhelming the system. The warning "failed while replicating fragments" confirms the replication attempt failed in the main run loop.
Would you like more detail on why this happens or how to troubleshoot it?
Sources:
- ReplicationWorker.java (run method, error handling, and backoff) 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.sindhushree
09/15/2025, 9:28 AMRunLLM
09/15/2025, 9:28 AMsindhushree
09/15/2025, 9:30 AMRunLLM
09/15/2025, 9:30 AMBKNotEnoughBookiesException, repeated failed replication attempts, and warnings like "failed while replicating fragments" in logs. These errors trigger exponential backoff and deferred lock release to avoid system overload.
Would you like more detail on specific error types or troubleshooting steps?
Sources:
- ReplicationWorker.java (error handling)
- Bookkeeper issue: ReplicationWorker not work problem
- Bookkeeper issue: Autorecovery stuck when ensemble equals total bookies 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.