aggregate

Combines the data of several stream messages in one response.

Applies to: stream

Value: true or false. The default is false.

Usage

With aggregate=true the response has a messages array with several stream messages, instead of the data of a single message. The total number of records in the response does not exceed limit. The default limit is 1000, the maximum is 10,000. For example, with a limit of 5000 and stream messages of 2000 records each, a response holds two complete messages and the first 1000 records of a third message. The after value of the response continues in the middle of the third message.

https://api-qa.ihsmarkit.com/namespace/stream?aggregate=true&limit=10000&after=AFTER_VALUE

Fewer records are returned if the stream holds no more data.

Tip: Aggregation reduces the effect of network latency on streams with a high update rate, because many messages are delivered per request.

The response has the field aggregated with value true, the messages array, after and timeToFirstWrite. The inner messages do not have their own after value.