Kai Moritz [Sun, 23 Jun 2024 07:03:35 +0000 (09:03 +0200)]
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`.
Kai Moritz [Sat, 4 Feb 2023 09:20:55 +0000 (10:20 +0100)]
Switched to `JsonSerializer` / `JsonDeserializer`
* Switched all services from manual serialization/deserialization with
direct calls to the `ObjectMapper` to ``JsonSerializer`` /
``JsonDeserializer``.
* All keys and values are serialized as JSON (expect the key from `users`).
Kai Moritz [Sat, 16 Oct 2021 15:01:51 +0000 (17:01 +0200)]
Enabled up/down-scaling of the services
* Changed the default-port of the services, so that all services can be
started local in parallel
* The queriable Kafka-Streams-Apps derive their local address automatically,
so that they can be scaled up/down in Docker-Compose
* Added traefik as reverse-proxy to the setup