You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by Nges Brian <ng...@gmail.com> on 2015/10/25 15:43:16 UTC
How do I get the Client of the C API
Hello I am interested in Contributing to the C API, I have gone
through the Guide of and Manual and need to start looking at bugs.
But I can not look at bugs without knowing how to use the API myself.
I which to ask for help if there is any Client for Avro C API ?
secondly if there is any how can I get it up and runing in my Linux mechine?
lastly if there is none , how do I test the functioning of this product?.
will need to sent the information from over this API.
Thanks for your help and support.
cheers
Re: How do I get the Client of the C API
Posted by Sam Groth <sg...@yahoo-inc.com.INVALID>.
Download the avro-tools jar. Then write a schema and use the following command to generate random data.
java -jar /path/to/avro-tools-1.7.7.jar random --schema-file your-schema.avsc random-output.avro
Then you can write a C client to read that file using the file reader:
https://github.com/apache/avro/blob/trunk/lang/c/src/avro/io.h
Sam
On Sunday, October 25, 2015 9:43 AM, Nges Brian <ng...@gmail.com> wrote:
Hello I am interested in Contributing to the C API, I have gone
through the Guide of and Manual and need to start looking at bugs.
But I can not look at bugs without knowing how to use the API myself.
I which to ask for help if there is any Client for Avro C API ?
secondly if there is any how can I get it up and runing in my Linux mechine?
lastly if there is none , how do I test the functioning of this product?.
will need to sent the information from over this API.
Thanks for your help and support.
cheers
Re: How do I get the Client of the C API
Posted by Sam Groth <sg...@yahoo-inc.com>.
Download the avro-tools jar. Then write a schema and use the following command to generate random data.
java -jar /path/to/avro-tools-1.7.7.jar random --schema-file your-schema.avsc random-output.avro
Then you can write a C client to read that file using the file reader:
https://github.com/apache/avro/blob/trunk/lang/c/src/avro/io.h
Sam
On Sunday, October 25, 2015 9:43 AM, Nges Brian <ng...@gmail.com> wrote:
Hello I am interested in Contributing to the C API, I have gone
through the Guide of and Manual and need to start looking at bugs.
But I can not look at bugs without knowing how to use the API myself.
I which to ask for help if there is any Client for Avro C API ?
secondly if there is any how can I get it up and runing in my Linux mechine?
lastly if there is none , how do I test the functioning of this product?.
will need to sent the information from over this API.
Thanks for your help and support.
cheers