kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Iskuskov (Jira)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-10675) Error message from ConnectSchema.validateValue() should include the name of the schema.
Date Mon, 02 Nov 2020 22:28:00 GMT
Alexander Iskuskov created KAFKA-10675:
------------------------------------------

             Summary: 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


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)

Mime
View raw message