I got IDL based protocol:
..
record SourceData{
        string id;
    }

    array<SourceData> SourceOffer; //line13
...

I keep getting error:

Failed to execute goal org.apache.avro:avro-maven-plugin:1.7.5:idl-protocol (schemas) on project Network: Error compiling protocol file protocol.avdl to /home/Mick/workspace/Network/src/main/java: org.apache.avro.compiler.idl.ParseException: Encountered " ";" "; "" at line 13, column 38.
[ERROR] Was expecting:
[ERROR] "(" ...
[ERROR] -> [Help 1]

What seems to be the problem? Can't I use array of 'SourceData' type?

Best,
Mick

Reply via email to