Skip to content

Instantly share code, notes, and snippets.

@aidanbon
Last active May 19, 2017 04:27
Show Gist options
  • Save aidanbon/475fddf50359af233109a7c731cbc3d0 to your computer and use it in GitHub Desktop.
Save aidanbon/475fddf50359af233109a7c731cbc3d0 to your computer and use it in GitHub Desktop.
Sample Avro Schema
{
"namespace": "customerManagement.avro",
"type": "record",
"name": "Customer",
"fields": [
{
"name": "userID", "type": "long", "default": 9999
},
{
"name": "userName", "type": "string"
},
{
"name": "favoriteNumber", "type": ["null", "int"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment