My guess would be that you'd need to update the StandardContentViewerController to expect and handle a new MIME type relevant to your data.
As mentioned in the user mailing list for your previous query, you'll need to figure a way of obtaining the schema for the data then convert it to a more human-readable format to show in the browser. An example of that could be to look at what is done for Avro [1], although the Avro schema is typically included within the data itself. I'm not an expert in this though, just took a quick look. Hope it helps. [1] https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/java/org/apache/nifi/web/StandardContentViewerController.java#L109 Cheers, Chris Sampson On Thu, 10 Feb 2022, 07:05 shweta julur, <[email protected]> wrote: > Hi All, > > We are using Google Protobuf as an internal data format for a NiFi > workflow. So we want to check the flow file contents after each processor > has finished processing. As of now, there is no default content viewer for > Google Protobuf. Is there any way to add one to be able to see the flow > file contents? > > Any help would be appreciated. > > Thanks. >
