4.2.1 Start Message
Topic Version | 1 | Published | 10/16/2017 | |
For Standard | ETPW20 v1 |
To begin a channel streaming session, the consumer must send a Start message to the producer as shown in the example message below, which also uses these example parameters:
Property Name |
Example |
---|---|
maxDataItems |
50 |
maxMessageRate [ms] |
2000 |
// [91e2682e-5f0a-44bc-86fb-2ba708e78f7f] Message sent at 2017-08-12 10:47:26.8676{
"protocol":1,
"messageType":0,
"correlationId":0,
"messageId":8,
"messageFlags":0}{
"maxMessageRate": 2000,
"maxDataItems": 50}
NOTE: After receiving a Start message, a simple-streamer producer immediately sends channel metadata and begins streaming channel data messages to the consumer.
A non-simple producer must wait until it receives ChannelDescribe message(s) to respond with channel metadata and then needs a ChannelStreamingStart message before it can send channel data, as explained in the next sections.