cloudflare / goflow

The high-scalability sFlow/NetFlow/IPFIX collector used internally at Cloudflare.
BSD 3-Clause "New" or "Revised" License
852 stars 171 forks source link

Compiling FlowMessagePb proto #93

Open mugugnu opened 3 years ago

mugugnu commented 3 years ago

Hello, i need to compile the flow.proto into a jar to pass it to a protobuf converter that will read it. I've managed to do it by using protoc, my question is: since the protobuf converter expects to be provided with the compiled class name, should i provide com.cloudflare.net.flowagg.FlowMessagePb (but i get the error : not a valid proto3 class) or com.cloudflare.net.flowagg.FlowMessagePb$FlowMessage (which seems to proceed further but i'm getting the "Protocol message end-group tag did not match expected tag" error) ?