这个问题有人遇到吗?

2023-03-20 17:08:54][ERROR][http-mio-8999-exec-3][c.d.e.e.e.c.KafkaClient]-consumeSelectNMsgfailed org.apache.kafka.common.KafkaException: Received exception when fetching the next record from topic_lcc-@. If needed, pl ease seek past the record to continue consumption. at org.apache.kafka.clients.consumer.internals.Fetcher$PartitionRecords.fetchRecords(Fetcher.java:1507)~[kafka-clients-2.3.1.jar:?] at org.apache.kafka.clients.consumer.internals.Fetcher$PartitionRecords.access$1600(Fetcher.java:1332)~[kafka-clients-2.3.1.jar:?] at org.apache.kafka.clients.consumer.internals.Fetcher.fetchRecords(Fetcher.java:645)~[kafka-clients-2.3.1.jar:?] at org.apache.kafka.clients.consumer.internals.Fetcher.fetchedRecords(Fetcher.java:606)~[kafka-clients-2.3.1.jar:?] at org.apache.kafka.clients.consumer.KafkaConsumer.pollForFetches(KafkaConsumer.java:1294)~[kafka-clients-2.3.1.jar:?] at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1225)~[kafka-clients-2.3.1.jar:?] at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1201)~[kafka-clients-2.3.1.jar:?]

这个问题有人遇到吗

展开
收起
圆葱猪肉包 2023-03-27 13:50:12 792 分享 版权
1 条回答
写回答
取消 提交回答
  • 修改 max.poll.records消费者参数,太大会导致报错 if (corruptLastRecord) throw new KafkaException("Received exception when fetching the next record from " + partition + ". If needed, please seek past the record to " + "continue consumption.", cachedRecordException);

    2023-03-27 15:09:11
    赞同 展开评论

实时计算Flink版是阿里云提供的全托管Serverless Flink云服务,基于 Apache Flink 构建的企业级、高性能实时大数据处理系统。提供全托管版 Flink 集群和引擎,提高作业开发运维效率。

收录在圈子:
实时计算 Flink 版(Alibaba Cloud Realtime Compute for Apache Flink,Powered by Ververica)是阿里云基于 Apache Flink 构建的企业级、高性能实时大数据处理系统,由 Apache Flink 创始团队官方出品,拥有全球统一商业化品牌,完全兼容开源 Flink API,提供丰富的企业级增值功能。
还有其他疑问?
咨询AI助理