Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10675

Error message from ConnectSchema.validateValue() should include the name of the schema.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.3, 2.7.2, 2.8.1, 3.0.0
    • KafkaConnect
    • None

    Description

      The following error message

      org.apache.kafka.connect.errors.DataException: Invalid Java object for schema type INT64: class java.lang.Long for field: "moderate_time"
      

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            iskuskov Alexander Iskuskov
            Randall Hauch Randall Hauch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment