Closed d0nski closed 4 years ago
I've modified the plugin to do this myself - closing
Hi @d0nski , glad to hear that you fixed it! Would you mind sharing the solution with us for improving the codec, or sending a patch upstream? Would be much appreciated :) Thank you!
@d0nski Hi!!
Could you please let us know what was the fix/workaround? I'm running similar issues and I don't know what else to do.
Regards
Hi,
Is there a way to get this working with a nested protobuf message i'm getting from JMS using the JMS plugin? I have an "envelope" protobuf message, within this there are several data fields including a message_data field which contains another protobuf message which is a Report protobuf message. I have both the pb.rb files, and can decode the envelope fine, but am so far unable to figure out how to decode the message_data field within.
Envelope.pb.rb
proto file for message_data field:
I can decode the envelope message with this conf below and it works in bringing me back the four fields specified in envelope
I was trying to get the message_data data with the below conf, but get the error "Couldn't decode protobuf: #<ProtocolBuffers::DecodeError: incorrect wire type for tag: 10, expected 2 but got 0"
I'm new to protobuf - does what I am trying to do make sense? And if so is there a way to do it or how can I look at achieving this? (I have no control over the protobuf messages themselves)
Thanks