Skip to content

Type Alias: TopicMetadata

TopicMetadata = Record<string, SerializableValue>

Flat-keyed context travelling alongside a message body: who sent it, from where, in which deployment. Values may nest, but the keys are the addressable part - a listener filtering or labelling messages reads metadata.user, not a path into the body.