1 package de.juplo.kafka.wordcount.recorder;
3 import org.apache.kafka.streams.KeyValue;
5 import java.util.stream.Stream;
10 static final String PETER = "päter";
11 static final String KLAUS = "klühs";
13 static final Stream<KeyValue<String, String>> getInputMessages()
15 return Stream.of(INPUT_MESSAGES);
18 private static final KeyValue<String, String>[] INPUT_MESSAGES = new KeyValue[]
20 new KeyValue<>("päter", "Hall° Wält?¢*&%€!"),
21 new KeyValue<>("päter", "Hallo Welt!"),
22 new KeyValue<>("klühs", "Müsch gäb's auch!"),
23 new KeyValue<>("päter", "Boäh, echt! ß mal nä Nümmäh!"),