Closed ghost closed 3 years ago
I was able to find solution for that
you need to place UpdateAttribute processor before ProtobufDecoder and add there attribute protobuf.messageType
that correlates with your schema. Now the thing that is happening to me is that JSON contains only one property id
with long string :(
But I hope that this will help you
I was able to find solution for that you need to place UpdateAttribute processor before ProtobufDecoder and add there attribute
protobuf.messageType
that correlates with your schema. Now the thing that is happening to me is that JSON contains only one propertyid
with long string :(But I hope that this will help you
Thank you! it worked ..
I am trying out a simple flow in Nifi which converts a JSON data into Protobuf type.
Here is the flow which I tried:
These are the configurations of ProtobufEncoder:
As shown in the above picture, I am passing a compiled schema file in the schema path property and I set the compile schema property to false. But the flow files are routing to error queue saying,
Please suggest me the changes need to be done at configurations. Appreciate your help!!