Hi, Has anyone had issues with using avro-protobuf for google protobuf timestamp?
Protobuf models I have, import google protobuf common models, timestamp is one of them. Proto model for timestamp has following options defined. option java_outer_classname = "TimestampProto"; option java_multiple_files = true; That would mean that the generated code for Timestamp will be at "com.google.protobuf.Timestamp" rather than "com.google.protobuf.TimestampProto$Timestamp". However, when I derive a avro schema from a proto model using google timestamp, avro-protobuf is not honouring the java_multiple_files option and tries to look for timestamp class at "com.google.protobuf.TimestampProto$Timestamp" If "getNamespace" of ProtobufData wasn't private, would have been trivial by overriding that to handle above protobuf option Is this worth raising a JIRA for or has anyone experienced this and handled it in another way? Any help on this appreciated. I was able to get it working by maintaining ProtobufData locally and changing getNamespace implementation. Cheers, Mahesh. -- This email, including any attachments, is confidential and may be privileged. If you are not the intended recipient please notify the sender immediately, and please delete it; you should not copy it or use it for any purpose or disclose its contents to any other person. If the email, including any attachments, is legally privileged, you should not forward it to any other person.