flink SourceFunction could not be inferred. Support for synthetic interfaces, lambdas, and generic

2、The types of the interface org.apache.flink.streaming.api.functions.source.SourceFunction could not be inferred. Support for synthetic interfaces, lambdas, and generic or raw types is limited at this point

原因:数据类型转换失败
解决:SourceFunction , KafkaLog 一定要写 ,不然会报对象类型不对
在这里插入图片描述在这里插入图片描述


版权声明:本文为a123147abc原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。