I'am reading the folowing code :
.......
        KTable<String, Long> wordCounts = textLines
            .flatMapValues(textLine -> 
Arrays.asList(textLine.toLowerCase().split("\\W+")))
            .groupBy((key, word) -> word)
            .count(Materialized.<String, Long, KeyValueStore<Bytes, 
byte[]>>as("counts-store"));
.......

I do not understand the last line ... what is this ?
Materialized.<String, Long, KeyValueStore<Bytes, byte[]>>as("counts-store")  ?
Materialized is from this 
https://kafka.apache.org/21/javadoc/org/apache/kafka/streams/kstream/Materialized.html
Please give me a link where I can find explanations ,
Many thanks,
Aurel 

Reply via email to