Skip to content

Instantly share code, notes, and snippets.

@Chaffelson
Created June 10, 2017 20:46
Show Gist options
  • Save Chaffelson/0e8f90ab153ea19295b6992b7512307e to your computer and use it in GitHub Desktop.
Save Chaffelson/0e8f90ab153ea19295b6992b7512307e to your computer and use it in GitHub Desktop.
{
"type" : "record",
"namespace" : "hortonworks.hdp.refapp.trucking",
"name" : "truckgeoeventkafka",
"fields" : [
{ "name" : "eventTime" , "type" : "string" },
{ "name" : "eventSource" , "type" : "string" },
{ "name" : "truckId" , "type" : "int" },
{ "name" : "driverId" , "type" : "int"},
{ "name" : "driverName" , "type" : "string"},
{ "name" : "routeId" , "type" : "int"},
{ "name" : "route" , "type" : "string"},
{ "name" : "eventType" , "type" : "string"},
{ "name" : "latitude" , "type" : "double"},
{ "name" : "longitude" , "type" : "double"},
{ "name" : "correlationId" , "type" : "long"},
{ "name" : "geoAddress", "type" : ["string", "null"], "default": "No Address Available"}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment