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

JsonConverter missing and optional field defaults result in a null pointer

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

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.11.0.3
    • None
    • connect
    • Patch

    Description

      The internal Kafka Connect JsonSchema allows for specifying an optional field but the JsonConverter throws a null pointer error when trying to apply the default for missing optional fields in the payload. 

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            epheatt@servicesource.com Eric Pheatt

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment