You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2011/08/15 19:45:27 UTC

[jira] [Commented] (AVRO-875) Support the ability to load a schema from a URL

    [ https://issues.apache.org/jira/browse/AVRO-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085194#comment-13085194 ] 

Doug Cutting commented on AVRO-875:
-----------------------------------

This is equivalent to parse(url.openStream()), no?

A URL is generally less available than a File.  Most applications that used URLs for Schemas would probably require more than this, since they'd probably want to cache the content, perhaps to a file, so they could continue to operate when the URL's content is not available on the network.  So I wonder if this method will be that useful on its own.

Do you have a use case where this API would be convenient?  Can you please describe it a bit?  Thanks!

> Support the ability to load a schema from a URL
> -----------------------------------------------
>
>                 Key: AVRO-875
>                 URL: https://issues.apache.org/jira/browse/AVRO-875
>             Project: Avro
>          Issue Type: New Feature
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>         Attachments: AVRO-875_1.patch
>
>
> It would be very convenient to load an Avro Schema or Protocol from a URL. This would allow for schema repositories.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira