Skip to main content
Version: 最新版

BookKeeper Ledger Metadata

Pulsar stores data on BookKeeper ledgers, you can understand the contents of a ledger by inspecting the metadata attached to the ledger. Such metadata are stored on ZooKeeper and they are readable using BookKeeper APIs.

Description of current metadata:

ScopeMetadata nameMetadata value
All ledgersapplication'pulsar'
All ledgerscomponent'managed-ledger', 'schema', 'compacted-topic'
Managed ledgerspulsar/managed-ledgername of the ledger
Cursorpulsar/cursorname of the cursor
Compacted topicpulsar/compactedTopicname of the original topic
Compacted topicpulsar/compactedToid of the last compacted message