Last active
May 19, 2017 04:27
-
-
Save aidanbon/475fddf50359af233109a7c731cbc3d0 to your computer and use it in GitHub Desktop.
Sample Avro Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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