kafka.message.key
Developmentstringas of v1.45.0
Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from messaging.message.id in that they're not unique. If the key is null, the attribute MUST NOT be set.
If the key type is not string, its string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
Examples
- myKey
Used by
spans (5)
- messaging.create.producer
- messaging.process.consumer
- messaging.receive.client
- messaging.send.client
- messaging.send.producer
* required on that signal.
History
Added as development.