Hi!
I am trying to use nifi-protobuf-procesor to decode gtfs real time messages. 
However, I got a number of issues:
 - I could not compile the schema .desc from the existing gtfs-realtime.proto 
due to "Unable to read schema file: Unsupported platform: 
protoc-3.4.0-linux-x86_64.exe" although I am using Linux.
 - I managed to compile the schema using the protobuf binaries but when I tried 
to use it with the processor it requires proto.messageType property. If I 
create a custom property I got error saying that there is no validator for it.
- I managed to modify the processor's code and compiled it again in order to 
specify the proto.messageType but I am not sure what message type I have to 
enter. I tried with Vehicle Position - one of the message types in the gtfs 
real time. I got some broken output containing two JSON elements and that was 
everything. It seems to me that the message type should be detected 
automatically and changed dynamically as one file might contain different types 
such as VehicleDescriptor, TripDescriptor, etc but I don't know how to achieve 
this.

Has anyone used this processor and knows how complex schemata is possible to 
decode with it? Any help is appreciated.

Thanks & all the best

Valentina

Reply via email to