You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Alexander Iskuskov (Jira)" <ji...@apache.org> on 2021/07/07 11:06:00 UTC

[jira] [Updated] (KAFKA-10675) Error message from ConnectSchema.validateValue() should include the name of the schema.

     [ https://issues.apache.org/jira/browse/KAFKA-10675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Iskuskov updated KAFKA-10675:
---------------------------------------
    Fix Version/s: 3.0.0

> Error message from ConnectSchema.validateValue() should include the name of the schema.
> ---------------------------------------------------------------------------------------
>
>                 Key: KAFKA-10675
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10675
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Alexander Iskuskov
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> The following error message
> {code:java}
> org.apache.kafka.connect.errors.DataException: Invalid Java object for schema type INT64: class java.lang.Long for field: "moderate_time"
> {code}
> can be confusing because {{java.lang.Long}} is acceptable type for schema {{INT64}}. In fact, in this case {{org.apache.kafka.connect.data.Timestamp}} is used but this info is not logged.



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