Skip to content

Deleting data in bookkeeper #23032

Closed Answered by sbourkeostk
ub-3 asked this question in Q&A
Discussion options

You must be logged in to vote
  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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ub-3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants