Hi Lewis! Avro namespaces don't allow the characters '/', ':', or '-'. So your specific example would not work. The allowed characters for a namespace are defined in the Avro spec[1].
It would help if you could clarify what purpose namespacing serves in the system. [1]: http://avro.apache.org/docs/current/spec.html#Names On Mon, May 5, 2014 at 6:14 PM, Lewis John Mcgibbney < [email protected]> wrote: > Hi Charles > Thanks for reply. > Re: more info > Say I want my namespace to be > > experiment_name-{timestamp}/channel_name/2014-05-05T16:13:29/ > > Where all constituent parts of namespace separated by '/' are dynamic... > is this possible via builder api? > Thanks again > On May 5, 2014 4:04 PM, "Pritchard, Charles X. -ND" < > [email protected]> wrote: > >> Need more info — you can use the Schema builder to do anything you like >> at runtime, >> Schema.createRecord and setFields. >> >> >> >> On May 5, 2014, at 3:54 PM, Lewis John Mcgibbney < >> [email protected]> wrote: >> >> Hi Folks, >> I'm trying to propose Afro for a project I've been drafted on to. >> Namespace declarations are important... and a requirement is that >> namespaces are dynamic in nature... preferably even decided at runtime. >> Is this possible in Avro? >> Thanks >> Lewis >> >> >>
