Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23727

Skip null values in SimpleStringSchema#deserialize

    XMLWordPrintableJSON

Details

    Description

      In Kafka use cases, it's valid to send a message with a key and a null payload as a tombstone. But SimpleStringSchema, which is frequently used as a message value deserializer, throws NPE when the input value is null. We should tolerate null values in SimpleStringSchema (simply return null to skip the records), otherwise users need to implement a custom one.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Paul Lin Paul Lin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: