Converting protocol buffers to Avro in Java

Beating my head against a wall trying to get this to work. It's been a while since I worked with Java. Trying to get this code working: Transform protobuf to avro.

I have created a ~/test_dir/com/hascode/examples/ file but I cannot import it. Furthermore, the above link references creating the DatumWriter as the type of the proto class, although according to the API this does not seem required. It cannot be located with import com.hascode.examples.protocol_buffer.TodoProvider. I get an error saying it cannot find 'com.hascode.examples', not 'com' or 'has code', but 'examples'. I...

Read More »

By: StackOverFlow - Monday, 16 April

Related Posts