3.4.2.3 Message: ChannelMetadata

Topic Version1Published10/31/2016
For StandardETP v1.1

Send from a producer to consumer to describe channels that may be streamed to the consumer in future messages.

Message Type ID: 2

Correlation Id Usage:

MUST contain the id of the ChannelDescribe message which caused this metadata to be sent.

Multi-part: True

Sent by: producer

Attribute

Description

Data Type

Min

Max

channels

The list of channels.

ChannelMetadataRecord

1

n

Avro Source

{

      "type": "record",

      "namespace": "Energistics.Protocol.ChannelStreaming",

      "name": "ChannelMetadata",

      "messageType": "2",

      "protocol": "1",

      "senderRole": "producer",

      "protocolRoles": "producer,consumer",

      "fields":

     [

         {

          "name": "channels",

          "type": { "type": "array", "items": "Energistics.Datatypes.ChannelData.ChannelMetadataRecord" }

     }

     ]

}