Skip to content

Instantly share code, notes, and snippets.

@feliperazeek
Created July 22, 2021 21:07
Show Gist options
  • Save feliperazeek/ea53a0df89745bf65704f608fed804bc to your computer and use it in GitHub Desktop.
Save feliperazeek/ea53a0df89745bf65704f608fed804bc to your computer and use it in GitHub Desktop.
{
"type" : "record",
"name" : "twitter_schema",
"namespace" : "foo.bar",
"fields" : [ {
"name" : "username",
"type" : "string",
"doc" : "Name of the user account on Twitter.com"
}, {
"name" : "tweet",
"type" : "string",
"doc" : "The content of the users Twitter message"
}, {
"name" : "timestamp",
"type" : "long",
"doc" : "Unix epoch time in seconds"
} ],
"doc:" : "A basic schema for storing Twitter messages"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment