messaging.kafka.message.key
Developmentstringas of v1.44.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, it's 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
Stability label respelled from experimental to development.
Already present at v1.30.0, the oldest release tracked here (experimental).