[
https://issues.apache.org/jira/browse/FLINK-38819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046299#comment-18046299
]
Robert Metzger commented on FLINK-38819:
----------------------------------------
I agree, but I wonder if we could log such errors at trace log level?
> Make Flink JSON deserialization schema log parsing errors
> ----------------------------------------------------------
>
> Key: FLINK-38819
> URL: https://issues.apache.org/jira/browse/FLINK-38819
> Project: Flink
> Issue Type: Improvement
> Reporter: Santwana Verma
> Assignee: Santwana Verma
> Priority: Major
>
> When reading json format from a Kafka topic and
> `json.ignore-parse-errors=true` the deserialization errors are not logged. If
> this is set to false, it results in a poison pill where it repeatedly fails.
> The
> [code|https://github.com/apache/flink/blob/883e33b08b959e6b0569d89fa4840b8f9e7c300d/flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowDataDeserializationSchema.java#L96-L99]
> confirms that the errors are simply ignored. This ticket proposes having the
> errors logged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)