[
https://issues.apache.org/jira/browse/AVRO-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215334#comment-13215334
]
menghaocheng commented on AVRO-1029:
------------------------------------
Thanks Dounglas.
I think you have got exactly what I meant. I know the step to do it.
1)got the binary encoding.
2)transmit them by TCP socket.
The 2nd step is easy. But there is a question to the 1st step. I didn't know
how to get the binary encoding. The C API in the Documentation doesn't mention
at all http://avro.apache.org/docs/1.5.4/api/c/index.html. So I have to read
the rsc files. I find a function in the file src/avro/consumer.h:
avro_consume_binary(avro_reader_t reader,avro_consumer_t *consumer, void
*ud);
I'm not sure if it is the right function that I need.
> I want to transfer files beetwin server and client by Avro-c.
> -------------------------------------------------------------
>
> Key: AVRO-1029
> URL: https://issues.apache.org/jira/browse/AVRO-1029
> Project: Avro
> Issue Type: Test
> Components: c
> Affects Versions: 1.5.4
> Environment: avro in C, linux in vmware.
> Reporter: menghaocheng
> Labels: test
> Fix For: 1.5.4
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> I want to transfer files beetwin server and client by Avro-c. I know that
> there must be two parts in this model, the server and the client. My question
> is how to make the connection? Please forgive me as this maybe a simle
> question, But I'm fresh in Avro, your simple worlds maybe helpful for me. If
> only there is an example for it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira