FLINK踩坑
flink程序:
env.addSource(new FlinkKafkaConsumer08[String](kafkaTopic, new SimpleStringSchema(), kafkaProps))
编译时遇到下面的错误:
could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[String]
解决方案:
加上import org.apache.flink.streaming.api.scala._