Thomas MacKenzie
09/05/2025, 12:22 AMpreciseTopicPublishRateLimiterEnable meant for?RunLLM
09/05/2025, 12:22 AMpreciseTopicPublishRateLimiterEnable broker configuration enables a more accurate (precise) topic-level publish rate limiter in Pulsar. When set to true, it uses a precise rate limiter to enforce publish rate limits per topic, improving throttling accuracy compared to the default mechanism, which may be less effective in some scenarios. This setting is useful if you require strict enforcement of publish rate limits at the topic level, but it may introduce additional lock contention and latency under high load, as noted in user reports and discussions[^1][^2].
Would you like more detail on how this setting works or its performance implications?
Sources:
- StreamNative Docs: Resource Management Settings
- GitHub Issue: RateLimiter lock contention when use precise publish rate limiter 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Thomas MacKenzie
09/05/2025, 12:23 AMpreciseDispatcherFlowControl used for?RunLLM
09/05/2025, 12:23 AMpreciseDispatcherFlowControl broker configuration enables precise control over message dispatch throttling in Pulsar. When set to true, the broker calculates the number of entries to read from BookKeeper based on the average number of messages per entry, resulting in more accurate rate limiting, especially with batch messages. Only one of preciseDispatcherFlowControl or dispatchThrottlingOnBatchMessageEnabled should be enabled at a time, as they are mutually exclusive. This setting helps prevent over-delivery and unnecessary reads from storage[^1][^2].
Would you like more detail on its configuration or use cases?
Sources:
- Pulsar Docs: Throttling Configurations
- GitHub PR: Make dispatch rate limiter more precise 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.Lari Hotari
09/12/2025, 3:12 PMpreciseTopicPublishRateLimiterEnable is unused since Pulsar 3.2 where the rate limiting was refactored.Thomas MacKenzie
09/15/2025, 4:12 PMLari Hotari
09/15/2025, 4:13 PM