Re: Converting an AVDL file into something that the avro python package can parse

2022-04-22 Thread Eric Gorr
Hello Oscar, Worked perfectly. Thank you! I had tried idl2schemata, but didn't realize I needed to pass an output directory. Tried telling it to write the output to a file, but that obviously didn't work. Regards, Eric On Fri, Apr 22, 2022 at 10:00 AM Oscar Westra van Holthe - Kind < os...@wes

Re: Converting an AVDL file into something that the avro python package can parse

2022-04-22 Thread Oscar Westra van Holthe - Kind
Hi Eric, You did everything right, except that you ended up with a protocol file. Please use the tool idl2schemata instead, to generate schema file(s): java -jar avro-tools.jar idl2schemata src/test/idl/input/namespaces.avdl /tmp/ This will create a .avsc file per schema that you can use. Kind