[
https://issues.apache.org/jira/browse/AVRO-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028305#comment-13028305
]
Doug Cutting commented on AVRO-251:
-----------------------------------
Paul, In the current patch the binary schema format does not preserve all
schema attributes, e.g., documentation strings, keeping the representation
smaller and faster. If all attributes are required one could use the
read/writeJson() methods in this class to serialize schemas, or we could
enhance the patch.
Another approach to one-way messaging is to have senders schemas registered in
a shared database, and refer to them by a numeric ID in each message sent. The
receiver can then lookup the ID in the database. Access to the database is
cached.
Nick, the current patch does not preserve documentation, but does preserve
namespace and order correctly. The patch is out of date with trunk, however.
> add schema for schemas
> ----------------------
>
> Key: AVRO-251
> URL: https://issues.apache.org/jira/browse/AVRO-251
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Attachments: AVRO-251.patch, AVRO-251.patch
>
>
> A schema for schemas would permits schemas to be written in binary.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira