demos/kafka/wordcount
14 months agocounter: 1.2.4 - Headers for type-mapping are not necessary counter
Kai Moritz [Fri, 17 Feb 2023 16:28:54 +0000 (17:28 +0100)]
counter: 1.2.4 - Headers for type-mapping are not necessary

14 months agocoutner: 1.2.3 - Simplified topology, using default-serdes for all steps
Kai Moritz [Fri, 17 Feb 2023 13:48:23 +0000 (14:48 +0100)]
coutner: 1.2.3 - Simplified topology, using default-serdes for all steps

- Defined `JsonSerde` as default for keys and values.
- Configured the `JsonDeserializer` for header-based typing.
- Removed the configuration of specific serdes from all steps of the
  processor-topology, expect the initial step, that needs a `StringSerde`
  for the key.

14 months agocounter: 1.2.2. - Simplified topology - better readability
Kai Moritz [Thu, 16 Feb 2023 16:51:24 +0000 (17:51 +0100)]
counter: 1.2.2. - Simplified topology - better readability

14 months agocounter: 1.2.1 - Simplified topology (no serdes needed for materialization)
Kai Moritz [Thu, 16 Feb 2023 16:48:52 +0000 (17:48 +0100)]
counter: 1.2.1 - Simplified topology (no serdes needed for materialization)

14 months agocounter: 1.2.0 - Service reads/writes using `JsonSerde`
Kai Moritz [Wed, 15 Feb 2023 07:19:09 +0000 (08:19 +0100)]
counter: 1.2.0 - Service reads/writes using `JsonSerde`

- First working version of a refined topology, that reads and writes
  key and value with the `JsonSerde`.
- This topology expects and writes all data as JSON, except the key
  of the incomming messages.
- All used Serdes are directly configured in the topology.

14 months agocounter: 1.1.11 - Added a test, that is based on `TopologyTestDriver`
Kai Moritz [Sat, 11 Feb 2023 12:02:44 +0000 (13:02 +0100)]
counter: 1.1.11 - Added a test, that is based on `TopologyTestDriver`

- The test reuses `TestData` to asserts the exact same assumptions, as
  `CounterApplicationIT`.
- The only difference is, that the message processing is carried out by
  the `ToplogyTestDriver` instead of a real Kafka cluster, that is started
  along the test-code in the same JVM, as in `CounterApplicationIT`.

14 months agocounter: 1.1.10 - Refactored the configuration inito a separated class
Kai Moritz [Wed, 15 Feb 2023 06:51:46 +0000 (07:51 +0100)]
counter: 1.1.10 - Refactored the configuration inito a separated class

14 months agocounter: 1.1.9 - Refactored creation of `Properties` as a separate bean
Kai Moritz [Tue, 14 Feb 2023 19:17:12 +0000 (20:17 +0100)]
counter: 1.1.9 - Refactored creation of `Properties` as a separate bean

14 months agocounter: 1.1.8 - Fixed a `ConcurentModificationException`-bug
Kai Moritz [Sat, 11 Feb 2023 13:27:15 +0000 (14:27 +0100)]
counter: 1.1.8 - Fixed a `ConcurentModificationException`-bug

14 months agocounter: 1.1.7 - Fixed a bug in the assertion-logic for the expected state
Kai Moritz [Tue, 14 Feb 2023 19:03:08 +0000 (20:03 +0100)]
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.

14 months agocounter: 1.1.6 - Refactored the test-data into a separated class
Kai Moritz [Mon, 13 Feb 2023 18:00:53 +0000 (19:00 +0100)]
counter: 1.1.6 - Refactored the test-data into a separated class

14 months agocounter: 1.1.5 - Fixed a bug in the integration-test `CounterApplicationIT`
Kai Moritz [Sat, 11 Feb 2023 14:26:42 +0000 (15:26 +0100)]
counter: 1.1.5 - Fixed a bug in the integration-test `CounterApplicationIT`

- The default store-type creates state, that is stored on disk.
- Hence, only the first run of the test succseeded.
- The bug was fixed by providing an in-memory store-type.

14 months agocounter: 1.1.4 - Introduced parameters for the config needed by the test
Kai Moritz [Sat, 11 Feb 2023 14:38:03 +0000 (15:38 +0100)]
counter: 1.1.4 - Introduced parameters for the config needed by the test

14 months agocounter: 1.1.3 - Implemented an integration test for the old message-format
Kai Moritz [Sat, 11 Feb 2023 06:09:45 +0000 (07:09 +0100)]
counter: 1.1.3 - Implemented an integration test for the old message-format

14 months agocounter: 1.1.2 - Moved configuration into `CounterApplication`
Kai Moritz [Sat, 11 Feb 2023 05:45:40 +0000 (06:45 +0100)]
counter: 1.1.2 - Moved configuration into `CounterApplication`

14 months agocounter: 1.1.1 - Upgraded Spring Boot 2.5.4 -> 3.0.2
Kai Moritz [Sun, 5 Feb 2023 13:31:47 +0000 (14:31 +0100)]
counter: 1.1.1 - Upgraded Spring Boot 2.5.4 -> 3.0.2

2 years agocounter: 1.1.0 - Only counts words (splitting is done separately now)
Kai Moritz [Thu, 21 Oct 2021 19:49:51 +0000 (21:49 +0200)]
counter: 1.1.0 - Only counts words (splitting is done separately now)

2 years agocounter: 1.0.1 - changed default-port and exposed all actuator-endpoints
Kai Moritz [Sat, 16 Oct 2021 14:41:09 +0000 (16:41 +0200)]
counter: 1.0.1 - changed default-port and exposed all actuator-endpoints

2 years agowordcount:1.0.0 - counts words, keyed by username and word
Kai Moritz [Wed, 1 Sep 2021 20:31:01 +0000 (22:31 +0200)]
wordcount:1.0.0 - counts words, keyed by username and word