【Flink】Flink SQL Cannot instantiate user function cannot assign instance LinkedMap FlinkKafkaConsum

文章目录

  • 1.场景1
    • 1.1 概述
    • 1.2 源码解析
    • 13.可能原因

【Flink】Flink SQL Cannot instantiate user function cannot assign instance LinkedMap FlinkKafkaConsum_第1张图片

1.场景1

1.1 概述

写了一个flink程序,然后运行报错如下。

cannot assign instance of org.apache.commons.collections.map.LinkedMap to field org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumerBase.pendingOffsetsToCommit of type org.apache.commons.collections.map.LinkedMap in instance of org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer

Caused by

你可能感兴趣的:(大数据-flink,flink,sql,kafka)