counter: 1.1.7 - Fixed a bug in the assertion-logic for the expected state counter-1.1.7
authorKai Moritz <kai@juplo.de>
Tue, 14 Feb 2023 19:03:08 +0000 (20:03 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 17 Feb 2023 16:31:55 +0000 (17:31 +0100)
commit4072a93fd94a847c86ea422d74b17b0913b7de2a
treeb5e7f28310665ec7fd934ca6af516079a941f2ae
parent0a7e20af38fe1502c7c4328b2b6024cfe9e7b019
counter: 1.1.7 - Fixed a bug in the assertion-logic for the expected state

- Each combination of a user and a word is a uniq key.
- Since the ordering is only guaranteed for messages, with the same key,
  no expectations can be made according the ordering of messages with
  different keys!
- This also simplifies the test-logic, because no deserialization is needed
  any more to pick the username out of the JSON-data.
pom.xml
src/test/java/de/juplo/kafka/wordcount/counter/CounterApplicationIT.java
src/test/java/de/juplo/kafka/wordcount/counter/TestData.java