EnvelopeHeaders

The headers of a topic's message, each repeating a field of its Envelope.

Properties

Link copied to clipboard
const val FORMAT: String

Envelope.format, as a decimal number.

Link copied to clipboard
const val KIND: String

Envelope.kind, by its wire name.

Link copied to clipboard
const val PARTITIONS: String

On a state event, the partition count of the publishing context's log, as a decimal number: the record is in the partition that log gives its aggregate (Partitioner.partitionOf(ref, count)), whatever partitions the topic has, so a reader routes by it and none of its keys moves when the topic gains partitions. A record without it was placed by its key's hash (an earlier publisher, another producer). A reader that does not know it ignores it.

Link copied to clipboard