Kafka - Streams
What will be the output of this Kafka Streams code?
Input records:
{"1":"Apple", "2":"Banana", "3":"Avocado"}
var result = stream.filter((k, v) -> v.startsWith("A"))
.map((k, v) -> KeyValue.pair(k, v.length()));
result.foreach((k, v) -> System.out.println(k + ":" + v));Input records:
{"1":"Apple", "2":"Banana", "3":"Avocado"}
