As the example on the avro c website shows,

Create datum for record
 avro_datum_t person = avro_record(person_schema);


Create Datun for a field
 avro_datum_t id_datum = avro_int64(++id);

Set the field value in the record
avro_record_set(person, "ID", id_datum)

With the above API being deprecated,

How do I set avro_value_t in a record ?

I tried searching for counterpart of avro_value_get_by_name
but could not find it

Reply via email to