Apache Pulsar · Schema

PulsarMessage

Schema for an Apache Pulsar message including metadata and payload.

Cloud NativeMessagingMulti-TenantPub-SubStreamingApacheOpen Source

Properties

Name Type Description
messageId string Unique message ID in format ledgerId:entryId:partitionIndex
payload object The message payload, encoded according to the topic schema
key string Message key used for topic compaction and Key_Shared subscriptions
orderingKey string Ordering key for Key_Shared subscription ordering
properties object User-defined key-value properties attached to the message
publishTime string Timestamp when the message was published
eventTime string Application-defined event time
sequenceId integer Sequence ID for deduplication
producerName string Name of the producer that published the message
redeliveryCount integer Number of times the message has been redelivered
schemaVersion string Schema version used to encode the message
topic string Full topic name (persistent://tenant/namespace/topic)
View JSON Schema on GitHub