kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jagadesh Adireddi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6685) Connect deserialization log message should distinguish key from value
Date Tue, 20 Mar 2018 10:25:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406081#comment-16406081

Jagadesh Adireddi commented on KAFKA-6685:

Hi [~rhauch],

I would like to pick this Jira up. Wanted some advice on the error message .

I am thinking , if the exception occurred during:
a) keyAndSchema conversion,  then error msg logged as :  Failed to convert message Key And
Schema to Kafka Connect format.

b) valueAndSchema conversion, then error msg logged as : Failed to convert message Value
And Schema to Kafka Connect format.

And Main ConnectException thrown as :  Exiting WorkerSinkTask due to unconvertedmessage

Any help on the hint message to fix the issue would be great?

> Connect deserialization log message should distinguish key from value
> ---------------------------------------------------------------------
>                 Key: KAFKA-6685
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6685
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Yeva Byzek
>            Priority: Minor
>              Labels: newbie
> Connect was configured for Avro key and value but data had String key and Avro value.
The resulting error message was misleading because it didn't distinguish key from value, and
so I was chasing problems with the value instead of the key.
> tl;dr Connect should at least tell you whether the problem is with deserializing the
key or value of a record

This message was sent by Atlassian JIRA

View raw message