I am getting some numerical data with API from URL and I am looking for a way to make some mathematical operations in apache nifi before putting data to file directory. Thanks already now.
By the way, I am using InvokeHTTP processor to get data and to put file in somewhere I am using PutFile processor. I searched some related websites but I could not find out a working way.
Try using QueryRecord processor and Define
Record Reader/Writercontroller services to read/write the flowfile.Add new property to the
QueryRecordprocessor by using Apache calcite SQL query with your mathematical operations on flowfile.Results of the SQL query will be added to the
outgoing flowfilein your desired format.