open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
261 stars 167 forks source link

Rename `messaging.kafka.message.offset` to `messaging.kafka.offset` #1245

Closed pyohannes closed 3 months ago

pyohannes commented 3 months ago

Fixes #1156

Changes

As discussed in #1156, the offset property in Kafka can be used independent of a single message, but also describe the position in the overall message stream, and thus denote whole sections of a message stream. For example by advancing a checkpoint or offset, one can denote a batch of consecutive messages as checkpointed.

To avoid unnecessary confusion around this, the workgroup agreed to move the offset attribute out of the message-specific sub-namespace.

Merge requirement checklist