Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2440

Allow BinaryMessageDecoder to read (generic) records with the same schema they were written with.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.1
    • Component/s: java
    • Labels:
      None

      Description

      At work we have a use case to read Avro records from Kafka, and to write them to one of several BigQuery tables (based on compatibility). This means that there is no single schema (with all data) that is compatible with all records we'll be reading.

      In order to allow this, we'd like to be able to use the BinaryMessageDecoder without any read schema, and have it use the write schema of each record as the read schema for that record.

      Pull request will follow.
      Pull request submitted.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                opwvhk Oscar Westra van Holthe - Kind
                Reporter:
                opwvhk Oscar Westra van Holthe - Kind
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: