query: 2.0.0 - (GREEN) Values are serialized as JSON
authorKai Moritz <kai@juplo.de>
Sun, 9 Jun 2024 18:44:35 +0000 (20:44 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 12 Jun 2024 20:26:56 +0000 (22:26 +0200)
commit278c7b8125c82120e1d80fa640bd16d375d4bf86
treec39d9d342fdb79c6da5025a2dd1badc3aca0366e
parent57f47fca712981116b726e437f589ac727c5d0a7
query: 2.0.0 - (GREEN) Values are serialized as JSON
--
works __only__, if a default-type is defined

* The default-type is needed, to deserialized values that are read from the
  state-store.
* Without it, the deserialization fails, because not type-information is
  available.
* The type-information gets lost, when the values are stored in the state-
  store, because the message-headers are _not_ stored along with the value!
pom.xml
src/main/java/de/juplo/kafka/wordcount/query/QueryApplicationConfiguration.java
src/main/java/de/juplo/kafka/wordcount/query/QueryStreamProcessor.java
src/test/java/de/juplo/kafka/wordcount/query/QueryStreamProcessorTopologyTest.java