Skip to content

kafka offset for destination and source #1036

@gabrieljones

Description

@gabrieljones

What are you trying to achieve?

kafka offset needs the same source and destination treatment as partition:
See open-telemetry/opentelemetry-specification@52a3589#diff-bcd74adc2dce1c2c1808237660730119bae461b333c2adc7829d430e38adb15eR384-R385

What did you expect to see?

| `messaging.kafka.destination.partition` | int | Partition the message is sent to. | `2` | Recommended |
| `messaging.kafka.source.partition` | int | Partition the message is received from. | `2` | Recommended |
| `messaging.kafka.destination.offset` | int | Offset of the message within the partition it is sent to. | `42` | Recommended |
| `messaging.kafka.source.offset` | int | Offset of the message within the partition it is received from. | `42` | Recommended |

Additional context.

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/messaging.md#apache-kafka

Related:
open-telemetry/opentelemetry-specification#2957

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Post-stability

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions