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

JsonConverter missing and optional field defaults result in a null pointer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.11.0.3
    • None
    • KafkaConnect
    • 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

            People

              Unassigned Unassigned
              epheatt@servicesource.com Eric Pheatt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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