groups:
  - id: registry.messaging.deprecated
    type: attribute_group
    stability: development
    display_name: Deprecated Messaging Attributes
    brief: "Describes deprecated messaging attributes."
    attributes:
      - id: messaging.kafka.destination.partition
        type: int
        brief: >
          Deprecated, use `messaging.destination.partition.id` instead.
        examples: 2
        deprecated:
          reason: renamed
          renamed_to: messaging.destination.partition.id
        stability: development
      - id: messaging.operation
        type: string
        stability: development
        brief: >
          Deprecated, use `messaging.operation.type` instead.
        examples: ["publish", "create", "process"]
        deprecated:
          reason: renamed
          renamed_to: messaging.operation.type
      - id: messaging.client_id
        type: string
        stability: development
        brief: >
          Deprecated, use `messaging.client.id` instead.
        examples: ['client-5', 'myhost@8742@s8083jm']
        deprecated:
          reason: renamed
          renamed_to: messaging.client.id
        annotations:
          code_generation:
            exclude: true
      - id: messaging.kafka.consumer.group
        type: string
        brief: >
          Deprecated, use `messaging.consumer.group.name` instead.
        deprecated:
          reason: renamed
          renamed_to: messaging.consumer.group.name
        stability: development
        examples: 'my-group'
      - id: messaging.rocketmq.client_group
        type: string
        brief: >
          Deprecated, use `messaging.consumer.group.name` instead.
        stability: development
        examples: 'myConsumerGroup'
        deprecated:
          reason: uncategorized
          note: >
            Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans.
      - id: messaging.eventhubs.consumer.group
        type: string
        brief: >
          Deprecated, use `messaging.consumer.group.name` instead.
        stability: development
        examples: '$Default'
        deprecated:
          reason: renamed
          renamed_to: messaging.consumer.group.name
      - id: messaging.servicebus.destination.subscription_name
        type: string
        brief: >
          Deprecated, use `messaging.destination.subscription.name` instead.
        stability: development
        examples: 'subscription-a'
        deprecated:
          reason: renamed
          renamed_to: messaging.destination.subscription.name
      - id: messaging.kafka.message.offset
        type: int
        stability: development
        brief: >
          Deprecated, use `messaging.kafka.offset` instead.
        examples: 42
        deprecated:
          reason: renamed
          renamed_to: messaging.kafka.offset
      - id: messaging.destination_publish.anonymous
        type: boolean
        stability: development
        brief: 'Deprecated, no replacement at this time.'
        deprecated:
          reason: obsoleted
          note: "Removed. No replacement at this time."
      - id: messaging.destination_publish.name
        type: string
        stability: development
        brief: 'Deprecated, no replacement at this time.'
        deprecated:
          reason: obsoleted
          note: "Removed. No replacement at this time."
        examples: ['MyQueue', 'MyTopic']
