{ | |
"type": "record", | |
"name": "HandshakeResponse", "namespace": "org.apache.avro.ipc", | |
"fields": [ | |
{"name": "match", | |
"type": {"type": "enum", "name": "HandshakeMatch", | |
"symbols": ["BOTH", "CLIENT", "NONE"]}}, | |
{"name": "serverProtocol", | |
"type": ["null", "string"]}, | |
{"name": "serverHash", | |
"type": ["null", {"type": "fixed", "name": "MD5", "size": 16}]}, | |
{"name": "meta", | |
"type": ["null", {"type": "map", "values": "bytes"}]} | |
] | |
} |