- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to pass an attribute/property from JsonPathReader to QueryDatabaseTable in NiFi?
- Labels:
-
Apache NiFi
Created on 12-30-2020 11:45 AM - edited 12-30-2020 12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I`m starting with NiFi framework and I have the following problem: I´m getting data from a QueryDatabaseTableRecord that I need to put in S3, the problem in that the path (Object Key) that I must use it´s coming from an Json file.
I'm getting both process done well as separate but cant give the property of the EvaluateJsonPath to the File Flow of the QueryDatabaseTableRecord one.
Any idea or workaround?
Thanks guys!
Created on 01-03-2021 06:33 AM - edited 01-03-2021 06:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, cant visualize it, but your flow can be look like this:
QueryDatabaseTableRecord -> Wait ->PutS3Object
-> FetchFile -> EvaluateJsonPath -> Notify
You can overhand the attribute from JSON to the waiting FlowFile.
If you need help with configuration or other stuff for this, just text me.
