Count
Count is a collector function designed for testing and demo purposes. It generates a sequence of numeric values, starting at 1 and incrementing by 1 up to the configured maximum. Each value is emitted as a separate record. When the maximum is reached, Count stops emitting records.
For an example of how you can use Count in a stream, see My first stream.
Count icon
Configuration
Set Maximum value to control how many records are emitted.
Count configuration
Input and output data
Since Count generates its own data records, there is no input data view. The output data shows a preview of up to 10 records, based on the configured maximum value.
Count output data example