thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer" <jensge...@hotmail.com>
Subject Re: static vs dynamic typing
Date Sun, 31 Aug 2014 12:39:30 GMT
Hi,

> Just wondering if Avro or Thrift are equally suitable when the  source 
> schema is unknown.

No. Avro holds the schema within the data.
Thrift does not do this (performance), the schema must be known to all 
parties up front.

http://avro.apache.org/docs/1.7.6/spec.html#Schema+Resolution

However, due to soft-versioning, the Thrift-producing/consuming parties are 
not forced to "speak" the same version of the Thrift contract, so there is 
some flexibility built into the system.

Have fun,
JensG


Mime
View raw message