So, we’re declaring the following in our IDL (actual names changed to protect 
the innocent), and converting it to JSON with the Java tools. Then I try and 
load the JSON into avro-c, and it fails with the error:
“type” must be a string.

It seems like a “types” field is being generated in the JSON, and being ignored 
by avro-c. I’m starting to think that this is related to the RPC being missing. 
Is it possible to use a ‘protocol’ in Avro-C, or would that only work after the 
rest of the RPC system is added?

@namespace(“a")
protocol A {

    record B {
        long C;
    }

    record D {
        long E;
    }

    record F {
        string G;
    }

    record H {
        string I;
    }

    record J {
        string K;
    }

    record L {
        string M;
    }

    record N {
        string O;
    }
}

Reply via email to