org.apache.kafka.connect.errors.DataException: Avro union types containing null are only supported as optional fields and should have exactly two entries.

GitHub | zako | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Avro schemas generated using 1.8.1 fail in AvroData "Avro union types containing null..."

    GitHub | 6 months ago | zako
    org.apache.kafka.connect.errors.DataException: Avro union types containing null are only supported as optional fields and should have exactly two entries.
  2. 0

    Exception while consuming bottledwater messages from Sink connector

    Google Groups | 10 months ago | Unmesh Joshi
    org.apache.kafka.connect.errors.DataException: Avro union types containing null are only supported as optional fields and should have exactly two entries.

    Root Cause Analysis

    1. org.apache.kafka.connect.errors.DataException

      Avro union types containing null are only supported as optional fields and should have exactly two entries.

      at io.confluent.connect.avro.AvroData.toConnectSchema()
    2. io.confluent.connect
      AvroData.toConnectData
      1. io.confluent.connect.avro.AvroData.toConnectSchema(AvroData.java:1135)
      2. io.confluent.connect.avro.AvroData.toConnectSchema(AvroData.java:1105)
      3. io.confluent.connect.avro.AvroData.toConnectSchema(AvroData.java:1017)
      4. io.confluent.connect.avro.AvroData.toConnectData(AvroData.java:781)
      4 frames