How to extract part of a string in json format from Kafka in Flink 1.2
问题 My goal is to use kafka to read in a string in json format, do a filter to the string, select part of the message and sink the message out (still in json string format). For testing purpose, my input string message looks like: {"a":1,"b":2,"c":"3"} And my code of implementation is: def main(args: Array[String]): Unit = { val inputProperties = new Properties() inputProperties.setProperty("bootstrap.servers", "localhost:9092") inputProperties.setProperty("group.id", "myTest2") val inputTopic =