avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-875) Support the ability to load a schema from a URL
Date Mon, 15 Aug 2011 17:45:27 GMT

    [ 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?

> 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


View raw message