开发者社区 > 大数据与机器学习 > 实时计算 Flink > 正文

这个问题有人遇到吗?

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 519 0
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 集群和引擎,提高作业开发运维效率。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载