Get number of topics

Number of topics (buckets) to return

Details

This parameter controls the information you get back when requesting the top topics in a stream. Two sets of topics are returned: top and total. The top section returns the topics with the highest count over the last minute (with single minute counts), whereas the total section returns all-time count.

Type: integer
Default: 30
Example Value: 5

📘

Affects both top and total.

Language