* 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`.
RECORDER=juplo/wordcount--recorder:1.2.0
USERS=juplo/wordcount--users:1.0.5
SPLITTER=juplo/wordcount--splitter:1.2.0
-COUNTER=juplo/wordcount--counter:1.3.1
-TOP10=juplo/wordcount--top10:1.2.1
-QUERY=juplo/wordcount--query:2.0.1
-POPULAR=juplo/wordcount--popular:1.1.1
+COUNTER=juplo/wordcount--counter:1.4.0
+TOP10=juplo/wordcount--top10:1.4.0
+QUERY=juplo/wordcount--query:2.1.0
+POPULAR=juplo/wordcount--popular:1.3.0
if [ "$1" = "cleanup" ]
then
-Subproject commit f9156ed2e1f43b64d39cc39a13d12ca8c0d24219
+Subproject commit 123d1d3df7e3665dbe511a2e7d7398e0aa235a63
- kafka
counter:
- image: juplo/wordcount--counter:1.3.1
+ image: juplo/wordcount--counter:1.4.0
labels:
- "traefik.enable=true"
- "traefik.http.routers.counter.rule=Host(`counter.localhost`)"
- kafka
top10:
- image: juplo/wordcount--top10:1.2.1
+ image: juplo/wordcount--top10:1.4.0
labels:
- "traefik.enable=true"
- "traefik.http.routers.top10.rule=Host(`top10.localhost`)"
- kafka
query:
- image: juplo/wordcount--query:2.0.1
+ image: juplo/wordcount--query:2.1.0
labels:
- "traefik.enable=true"
- "traefik.http.routers.query.rule=Host(`query.localhost`)"
- kafka
popular:
- image: juplo/wordcount--popular:1.1.1
+ image: juplo/wordcount--popular:1.3.0
labels:
- "traefik.enable=true"
- "traefik.http.routers.popular.rule=Host(`popular.localhost`)"
-Subproject commit 8af553a2b1cae0b7f5c9d9c63023b47af89bd5ab
+Subproject commit 73eec81b106ad2a145565c8e87bd6fe2a32b617e
-Subproject commit b52ff02b6952dfc708c7c7d94205b5b24afd68f9
+Subproject commit d835b70fc4d49a50f42da9c21b3de1dbcd18cbaf
-Subproject commit aa9d59fa93178f40797a8bb3716dd0a30594833f
+Subproject commit 238491ed4d33495202e79879954802e5d0836006