Hi, My use case is very similar to the nested schema in the test case AvroUtilsTest on http://www.infoq.com/articles/ApacheAvro
The only difference is I would like to automatically load schema's from resources in classpath and also automatically load schema's for nested types. If you look at the test example mentioned above if I ask the "AvroSchemaRegistry" for a schema named com.navteq.avro.FacebookSpecialUser it should also load the nested com.navteq.avro.FacebookUser schema using some resolving and loading mechanism. Thanks and regards, - Ashish On Thu, 24 Mar 2011 10:38:20 +0800 Felix Xu <[email protected]> wrote: > Hi,I'm not quite understand the question.. > Can you give an example of your schema? > > 2011/3/24 <[email protected]> > > > Hi, > > > > Is there some java implementation of Avro schema registry? The use > > case is to have separate schema data files for a bunch of types and > > be able to resolve nested types. > > > > I tried avro for the first time and could not have schema parsed > > from one file have a nested record from a schema described in a > > second file. > > > > I am using a modified version of the AvroUtil class from > > http://www.infoq.com/articles/ApacheAvro . The modified file is > > attached. I uses the SchemaParse exception and loads schema files > > from classpath. > > > > Is there a better alternative. If this is a strong use case I could > > work on creating such a schema registry with plugable resolvers and > > loaders. > > > > Thanks and regards, > > - Ashish > >
