3.4.2.5 Message: ChannelStreamingStart

Topic Version1Published10/31/2016
For StandardETP v1.1

Sent from a consumer to producer to request that the producer begin streaming one or more channels. The startIndex value is a union of possible points to begin the stream (latest, n points back from now, etc.). For more information on these options, see 3.3.16.1 Record: ChannelStreamingInfo.

If any of the channels are already in a streaming state, the producer MUST send one EINVALID_STATE exception, but MUST still start streaming all of the channels that are valid.

Message Type ID: 4

Correlation Id Usage: n/a

Multi-part: False

Sent by: consumer

Attribute

Description

Data Type

Min

Max

channels

An array of the channels to start streaming.

ChannelStreamingInfo

1

n

Avro Source

{

      "type": "record",

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

      "name": "ChannelStreamingStart",

      "messageType": "4",

      "protocol": "1",

      "senderRole": "consumer",

      "protocolRoles": "producer,consumer",

      "fields":

     [

         {

          "name": "channels",

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

     }

     ]

}