From: Kai Moritz Date: Sun, 23 Jun 2024 07:03:35 +0000 (+0200) Subject: Introduced new generalized JSON-format for `top10` X-Git-Tag: wordcount-2.2.0 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=40a3767aeaa3bea06f1fc2ec3165218059cdc128;hp=40a3767aeaa3bea06f1fc2ec3165218059cdc128;p=demos%2Fkafka%2Fwordcount Introduced new generalized JSON-format for `top10` * Added an attribute `type`, that denotes the type of the statistics. * Introduces a common wording for the other attributes: ** Renamed `user` to `channel`. ** Renamed `word` to `key` (in the `key`/`counter`-pairing in the `Entry`). * Adapted all services accordingly: ** `counter` generates statistics of the type `COUNTER`. ** `popular` generates statistics of the type `POPULAR`. ** `top10` generates `Ranking`s for _all_ types of statistics and hands the `type` through to its consumers. ** `query` is only intrested in rankings of the type `COUNTER`. ---