avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cooper, Chris" <chris.coo...@navteq.com>
Subject Avro serialization / deserialization with different objects
Date Fri, 02 Apr 2010 14:16:51 GMT

I'm using Avro's reflection api  to publish out domain objects from Hadoop through messaging
middleware.  The subscribers of my data are interested in different subsets of the objects.
 Instead of them having to use a version of my original object, is it possible for them to
define a totally different object (different namespace/name) that has a small subset of the
original objects properties (matching names/primitive types) and then deserialize to that

So far I've been running into AvroTypeException's when I use a different reader object.

Thanks for your help!


The information contained in this communication may be CONFIDENTIAL and is intended only for
the use of the recipient(s) named above.  If you are not the intended recipient, you are hereby
notified that any dissemination, distribution, or copying of this communication, or any of
its contents, is strictly prohibited.  If you have received this communication in error, please
notify the sender and delete/destroy the original message and any copy of it from your computer
or paper files.

View raw message