Skip to content

Instantly share code, notes, and snippets.

@MazizEsa
Last active September 14, 2020 13:36
Show Gist options
  • Save MazizEsa/ddf484eaec910de12bde93f5108bc870 to your computer and use it in GitHub Desktop.
Save MazizEsa/ddf484eaec910de12bde93f5108bc870 to your computer and use it in GitHub Desktop.
Flat Schema Source
{
"namespace": "org.maz.schema",
"type": "record",
"name": "FlatSampleData",
"fields": [
{
"name": "FlatSampleData",
"type": {
"avro.java.string": "String",
"type": "string"
},
"default": ""
},
{
"name": "flatEnumSample",
"type": {
"type": "enum",
"name": "FlatEnumerationSample",
"symbols": [
"SAMPLE1",
"SAMPLE2",
"SAMPLE3"
]
},
"default": "SAMPLE1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment