- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Transfer flow files using NiFi Rest API
- Labels:
-
Apache NiFi
Created ‎04-05-2017 03:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm looking for a way to transfer flowfiles from one processor group to another processor group's input port using the NiFi's rest API. The rest API doc is kinda vague. I assume the "Data Transfer API" section is the one I should be interested in. I was going through the same but couldn't get it to work.
I wanted to try this endpoint: http://localhost/nifi-api/data-transfer/input-ports/{portId}/transactions/{transactionId}/flow-files
I know I can get the portId from the NiFi UI but what about the transactionId.
Note: I thought that we may have to create a transaction ourselves using "/data-transfer/{portType}/{portId}/transactions" so I tried http://localhost/nifi-api/data-transfer/input-ports/xxxxx-xx-xxx-xx/transactions but it says "The requested port with id "xxxxxx" is not found in root level". I have this port not in root but inside a processor group then how should I give that here?
Created ‎01-17-2019 07:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even, I cant find how one can get transactionId.. Any help greatly appreciated!
