avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sharad Agarwal <shara...@yahoo-inc.com>
Subject Avro IDL: Sharing complex types in multiple protocols
Date Thu, 22 Jul 2010 18:40:00 GMT
I don't find a way to to share complex type in more than one protocol. I 
want to do something like:

@namespace ("x.y")
protocol Protocol1 {
  record MyRecord {
    string name;
  }
  void message1(MyRecord r);
}


@namespace ("x.y.z")
protocol Protocol2 {
  void message2(x.y.MyRecord r);
}

Is there a workaround for this ?

Sharad

Mime
View raw message