Error in sinking kafka stream in flink 1.2
问题 What I did was to read in a message from kafka in json format. E.g. {"a":1,"b":2} Then I applied a filter to this message to make sure the value corresponding to a is 1, the value of b is 2. Finally, I want to output the result stream to a downstream kafka. However, I don't know why the compiler says type mismatch. My code is as follows: val kafkaConsumer = new FlinkKafkaConsumer010( params.getRequired("input-topic"), new JSONDeserializationSchema(), params.getProperties) val messageStream =