Thomas MacKenzie
08/08/2025, 4:42 PMRunLLM
08/08/2025, 4:42 PMThomas MacKenzie
08/08/2025, 11:55 PMbrokerDeduplicationProducerInactivityTimeoutMinutes work?RunLLM
08/08/2025, 11:55 PMbrokerDeduplicationProducerInactivityTimeoutMinutes config sets the time (in minutes) after which the broker discards deduplication information for a producer that has been inactive (disconnected). By default, this is 360 minutes (6 hours). After this timeout, deduplication state for that producer is purged to free resources and reduce memory usage. This helps prevent memory leaks from short-lived or disconnected producers.
For more, see Pulsar deduplication cookbook and StreamNative config docs.
Would you like more detail on the internal cleanup process or related settings?
Sources:
- Pulsar deduplication cookbook
- StreamNative config docs 👍 1 button 👎 0 button 💡 Hint: Mention @RunLLM in the thread for followups.Thomas MacKenzie
08/09/2025, 1:42 PMacknowledgmentAtBatchIndexLevelEnabled work?RunLLM
08/09/2025, 1:42 PMacknowledgmentAtBatchIndexLevelEnabled broker config enables batch index acknowledgment, allowing consumers to acknowledge individual messages within a batch rather than the entire batch. When set to true, the broker tracks which messages in a batch have been acknowledged and only redelivers unacknowledged messages, reducing duplicates and improving efficiency. Both the broker and consumer must enable this feature for it to work.
For details, see Pulsar concepts-messaging docs and StreamNative config docs.
Would you like more detail on enabling this in clients or its impact on memory usage?
Sources:
- Pulsar concepts-messaging docs
- StreamNative config docs 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.