Skip to content

Instantly share code, notes, and snippets.

@mykidong
Created May 24, 2018 14:37
Show Gist options
  • Save mykidong/22f56b4eb269d5035634f2c45c740ebd to your computer and use it in GitHub Desktop.
Save mykidong/22f56b4eb269d5035634f2c45c740ebd to your computer and use it in GitHub Desktop.
{
"namespace":"io.shunters.coda.avro.api",
"type":"record",
"doc":"Record Array",
"name":"Records",
"fields":[
{
"name":"firstOffset",
"type":"long"
},
{
"name":"partitionLeaderEpoch",
"type":"int"
},
{
"name":"magic",
"type":"int"
},
{
"name":"crc",
"type":"int"
},
{
"name":"attributes",
"type":"int"
},
{
"name":"lastOffsetDelta",
"type":"int"
},
{
"name":"firstTimestamp",
"type":"long"
},
{
"name":"maxTimestamp",
"type":"long"
},
{
"name":"producerId",
"type":"long"
},
{
"name":"producerEpoch",
"type":"int"
},
{
"name":"firstSequence",
"type":"int"
},
{
"name":"records",
"type":{
"type":"array",
"items":"io.shunters.coda.avro.api.Record"
}
}
]
}
@mykidong
Copy link
Author

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment