Map avro schema example in php
Good evening. This is snippet of avro schema field that I need to build data for and populate in php *{name: meta__kvpairs, type: [ null, { type: map, values: [null, string] } ] }*. Would appreciate if someone gives me an example of how data would look in php to satisfy meta__kvpairs avro rule so that it can be serialized without exception. Thanks so much.
Re: Map avro schema example in php
Please disregard. On Tue, Sep 9, 2014 at 11:26 PM, Vadim Keylis vkeylis2...@gmail.com wrote: Good evening. This is snippet of avro schema field that I need to build data for and populate in php *{name: meta__kvpairs, type: [ null, { type: map, values: [null, string] } ] }*. Would appreciate if someone gives me an example of how data would look in php to satisfy meta__kvpairs avro rule so that it can be serialized without exception. Thanks so much.
Avro serialization using php
How do I just serialize single message using php? It appears php uses Container Files serialization approach and for my project I need to serialize single message without attaching schema as header. Thanks so much for your help