Suhas Karanth
07/25/2025, 10:53 AMpulsar-admin topics clear-backlog command for each partitioned topic?RunLLM
07/25/2025, 10:53 AMpulsar-admin topics clear-backlog for each partition individually. Instead, you can use the namespace-level command to clear the backlog for all topics (including all partitions of partitioned topics) within a namespace:
pulsar-admin namespaces clear-backlog <tenant>/<namespace>
This will clear the backlog for all topics and their partitions in the specified namespace. If you want to clear the backlog for a specific subscription or bundle, you can use the --sub or --bundle flags as needed. For more details, see Pulsar Admin API - Clear Backlog and StreamNative CLI - Clear Namespace Backlog.
Would you like more detail on clearing backlog for individual partitions or subscriptions?
Sources:
- StreamNative CLI - Clear Namespace Backlog 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.