Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-3966

TableChangesSerializer ignored defaultValue and enumValues

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 1.8.0.Alpha2
    • 1.6.2.Final
    • core-library
    • None
    • False
    • False

      Both JsonTableChangeSerializer and ConnectTableChangeSerializer ignored 

      defaultValue, hasDefaultValue, enumValues of ColumnImpl.

       

      If we serialize and then deserialize the TableChanges, missing default value may cause:

      org.apache.kafka.connect.errors.DataException: Invalid value: null used for required field

       

              Unassigned Unassigned
              jiabao-sun Jiabao Sun (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: