GitHub user sbourkeostk added a comment to the discussion: Deleting data in bookkeeper
1. A topic (managed-ledger) consists of a set of ledgers. When a ledger is rolled over the previous ledger is only removed if all cursors have moved past its entries (assuming no retention/TTLs). 2. BookKeeper has no concept/knowledge of compaction, that's a Pulsar concept. As in question 1, a ledger is only deleted when the broker that responsible for the topic deletes the ledger from bookkeeper. The broker will not do that until: all messages stored in the ledger have been ack'd on all subscriptions or the TTL has expired, and the retention window has passed. GitHub link: https://github.com/apache/pulsar/discussions/23032#discussioncomment-10266379 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
