</parent>
<groupId>de.juplo.kafka.wordcount</groupId>
<artifactId>counter</artifactId>
- <version>1.2.0</version>
+ <version>1.2.1</version>
<name>Wordcount-Counter</name>
<description>Word-counting stream-processor of the multi-user wordcount-example</description>
<properties>
.noTypeInfo(),
new JsonSerde<>(Word.class)
.noTypeInfo()))
- .count(Materialized
- .<Word,Long>as(storeSupplier)
- .withKeySerde(
- new JsonSerde<>(Word.class)
- .forKeys()
- .noTypeInfo())
- .withValueSerde(
- Serdes.Long()))
+ .count(Materialized.as(storeSupplier))
.toStream()
.map((word, count) -> new KeyValue<>(word, WordCount.of(word.getUser(), word.getWord(), count)))
.to(