Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro, mail # dev - Fwd: Avro mime type


Copy link to this message
-
Fwd: Avro mime type
Wolfgang Hoschek 2012-10-22, 22:08
Forwarding this question to dev list per Sean's suggestion.

Wolfgang.

Begin forwarded message:

> From: Sean Busbey <[EMAIL PROTECTED]>
> Subject: Re: Avro mime type
> Date: October 22, 2012 2:58:10 PM PDT
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
>
> Hi Wolfgang!
>
> The current avro spec mentions that when HTTP is being used as a transport for an Avro-defined protocol that the content type 'avro/binary' should be used.[1] There's an open issue[2] about this not being a valid content type, though there hasn't been movement in a while.
>
> AFAICT, this means there isn't a general best practice at the moment. I have some ideas on the matter, perhaps we could discuss this on the dev list and then update the relevant jira?
>
> -Sean
>
> [1]: http://avro.apache.org/docs/current/spec.html#HTTP+as+Transport
> [2]: https://issues.apache.org/jira/browse/AVRO-488
>
> On Mon, Oct 22, 2012 at 5:04 PM, Wolfgang Hoschek <[EMAIL PROTECTED]> wrote:
> What's the preferred mime type for binary avro and json formatted avro files that I should use in an app?
> For example "application/avro+binary", "application/avro+json"?
>
> Thanks,
> Wolfgang
>
>
>
> --
> Sean Busbey
> Solutions Architect
> Cloudera, Inc.
>