[
https://issues.apache.org/jira/browse/AVRO-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007889#comment-13007889
]
Gilles Gaillard commented on AVRO-777:
--------------------------------------
We're running a bit out of time currently so we'll come back hopefully soon
with more details and yes we'll try to move to 1.5.0 API (side note: would be
nice if next release be announced to 'users' sometimes before the final vote).
Here are some quick answers though:
- what we provided represents what we needed at the time of writing not the
ideal
- for a quick look I attached a sample of idl file and the corresponding
generated files. Note that the use of templates enables easy customization,
e.g. prefix for method names or custom includes (there is one in the templates
for pointing to a custom error type).
- we have no problem in using java but understand others might ;-) This was
just the quickest way to go for us for code generation.
- the java_enum is here only because we decided in a first implementation to
use for message dispatching an int instead of the message name (so we have a
custom java implementation). Obviously this must be ignored for real-future use.
- we are testing on Linux so beside threads and memory may need also some
change for sockets.
> Avro-C: support for RPC
> -----------------------
>
> Key: AVRO-777
> URL: https://issues.apache.org/jira/browse/AVRO-777
> Project: Avro
> Issue Type: Improvement
> Components: c
> Affects Versions: 1.4.1
> Reporter: Gilles Gaillard
> Fix For: 1.5.1
>
> Attachments: AVRO-777-rpc-c.zip
>
>
> Provide support for RPC with Avro-C
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira