Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21218

KafkaSerDe doesn't support topics created via Confluent Avro serializer

    XMLWordPrintableJSON

Details

    • KafkaSerDe now supports Confluent Avro message format.

    Description

      According to Google groups the Confluent avro serialzier uses propertiary format for kafka value - <magic_byte 0x00><4 bytes of schema ID><regular avro bytes for object that conforms to schema>. 

      This format does not cause any problem for Confluent kafka deserializer which respect the format however for hive kafka handler its bit a problem to correctly deserialize kafka value, because Hive uses custom deserializer from bytes to objects and ignores kafka consumer ser/deser classes provided via table property.

      It would be nice to support Confluent format with magic byte.

      Also it would be great to support Schema registry as well.

      Attachments

        1. HIVE-21218.patch
          12 kB
          Milan Baran
        2. HIVE-21218.9.patch
          28 kB
          David McGinnis
        3. HIVE-21218.8.patch
          60 kB
          David McGinnis
        4. HIVE-21218.7.patch
          16 kB
          David McGinnis
        5. HIVE-21218.6.patch
          17 kB
          David McGinnis
        6. HIVE-21218.5.patch
          15 kB
          David McGinnis
        7. HIVE-21218.4.patch
          14 kB
          David McGinnis
        8. HIVE-21218.3.patch
          2 kB
          David McGinnis
        9. HIVE-21218.2.patch
          13 kB
          Milan Baran
        10. HIVE-21218.13.patch
          18 kB
          David McGinnis
        11. HIVE-21218.12.patch
          18 kB
          David McGinnis
        12. HIVE-21218.11.patch
          18 kB
          David McGinnis
        13. HIVE-21218.10.patch
          28 kB
          David McGinnis
        14. 0001-HIVE-21818-Adding-ability-for-Kafka-Handler-to-proce.patch
          20 kB
          David McGinnis

        Activity

          People

            mcginnda David McGinnis
            milan.baran Milan Baran
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 15h 50m
                15h 50m