Created
May 24, 2018 14:35
-
-
Save mykidong/bc8ee299219f8650fa562a09681cc049 to your computer and use it in GitHub Desktop.
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":"io.shunters.coda.avro.api", | |
"type":"record", | |
"doc":"Produce Request", | |
"name":"ProduceRequest", | |
"fields":[ | |
{ | |
"name":"requestHeader", | |
"type":"io.shunters.coda.avro.api.RequestHeader" | |
}, | |
{ | |
"name":"requiredAcks", | |
"type":"int" | |
}, | |
{ | |
"name":"timeout", | |
"type":"int" | |
}, | |
{ | |
"name":"produceRequestMessageArray", | |
"type":{ | |
"type":"array", | |
"items":{ | |
"type":"record", | |
"name":"ProduceRequestMessage", | |
"namespace":"io.shunters.coda.avro.api", | |
"fields":[ | |
{ | |
"name":"topicName", | |
"type":"string" | |
}, | |
{ | |
"name":"produceRequestSubMessageArray", | |
"type":{ | |
"type":"array", | |
"items":{ | |
"type":"record", | |
"name":"ProduceRequestSubMessage", | |
"namespace":"io.shunters.coda.avro.api", | |
"fields":[ | |
{ | |
"name":"partition", | |
"type":"int" | |
}, | |
{ | |
"name":"records", | |
"type":"io.shunters.coda.avro.api.Records" | |
} | |
] | |
} | |
} | |
} | |
] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.