Vaguely; you're looking for a URI object.
Define it on your own terms and proxy your resolution objects through code.

Avro stops at schema definition: routing and transformations are left to the 
consumer.

As for direction on that part: I've tried to add maps... morphlines, 
elasticsearch index types, no success.
The URI construct simply means: take a string, execute code based on it, get 
some data.

Your easiest route in compatibility is to use UTF-8; your most efficient is to 
pass a byte array.


-Charles.



....................

________________________________________
From: Bernhard Damberger [[email protected]]
Sent: Wednesday, May 14, 2014 10:38 AM
To: [email protected]
Subject: [SUSPECTED SPAM] Avro cycle support

My group is considering using Avro and we had some questions that I am hoping 
someone might have some insight into.

  1.  Is there a plan to add cycle support to Avro? I saw this ticket: 
https://issues.apache.org/jira/browse/AVRO-695. But it hasn't been worked on 
since 1/2011.
  2.  Why does Avro handle cyclical schema's but not cyclical objects?
  3.  Does anyone know when non-string map keys will be available (i.e. ticket 
https://issues.apache.org/jira/browse/AVRO-680)?
  4.  How does Avro handle inheritance in lists? For example: List<BaseClass> 
storing derived class objects?

Thanks for your help.

_bernhard

Reply via email to