You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maxim Malykhin (Jira)" <ji...@apache.org> on 2020/05/11 17:18:00 UTC

[jira] [Comment Edited] (FLINK-17575) KafkaException: Received exception when fetching the next record from XXX-14. If needed, please seek past the record to continue consumption.

    [ https://issues.apache.org/jira/browse/FLINK-17575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104690#comment-17104690 ] 

Maxim Malykhin edited comment on FLINK-17575 at 5/11/20, 5:17 PM:
------------------------------------------------------------------

this a "root exception" copied from flink dashboard


was (Author: balookrd):
this a "root execption" copied from flink dashboard

> KafkaException: Received exception when fetching the next record from XXX-14. If needed, please seek past the record to continue consumption.
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-17575
>                 URL: https://issues.apache.org/jira/browse/FLINK-17575
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.10.0
>            Reporter: Maxim Malykhin
>            Priority: Major
>
> Stream don't catch exception for bad packet in kafka, exception terminate thread.
> {code:java}
> org.apache.kafka.common.KafkaException: Received exception when fetching the next record from prod_netscout_ug_s1mme-14. If needed, please seek past the record to continue consumption.org.apache.kafka.common.KafkaException: Received exception when fetching the next record from prod_netscout_ug_s1mme-14. If needed, please seek past the record to continue consumption. at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.fetchRecords(Fetcher.java:1522) at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.access$1700(Fetcher.java:1377) at org.apache.kafka.clients.consumer.internals.Fetcher.fetchRecords(Fetcher.java:677) at org.apache.kafka.clients.consumer.internals.Fetcher.fetchedRecords(Fetcher.java:632) at org.apache.kafka.clients.consumer.KafkaConsumer.pollForFetches(KafkaConsumer.java:1290) at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1248) at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1173) at org.apache.flink.streaming.connectors.kafka.internal.KafkaConsumerThread.run(KafkaConsumerThread.java:253)Caused by: org.apache.kafka.common.KafkaException: Record batch for partition prod_netscout_ug_s1mme-14 at offset 22405513471 is invalid, cause: Record is corrupt (stored crc = 995400728, computed crc = 4153305836) at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.maybeEnsureValid(Fetcher.java:1435) at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.nextFetchedRecord(Fetcher.java:1479) at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.fetchRecords(Fetcher.java:1536) ... 7 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)