Striim 3.9.7 documentation

Avro schema file

See AVROFormatter for instructions on using the TQL application to generate ora_hive_pos.avsc, an Avro schema file based on WAEvent. The generated file's contents should be:

{
  "namespace": "waevent.avro",
  "type" : "record",
  "name": "WAEvent_Record",
  "fields": [
    {
    "name" : "data",
    "type" : { "type": "map","values":"string" }
     },
    {
    "name" : "before",
    "type" : ["null",{"type": "map","values":"string" }]
    },
    {
     "name" : "metadata",
     "type" : { "type": "map","values":"string" }
    }
  ]
}

WAEvent's data, before, and metadata fields are represented in Avro as Avro map types.