Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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?

-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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB