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

Switch to Threaded View
Avro >> mail # user >> Avro mime type

Copy link to this message
Re: Avro mime type
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?


[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

> 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.