Member since
03-25-2019
3
Posts
0
Kudos Received
0
Solutions
04-08-2019
09:09 AM
Is it possible to clear the cache completely by not providing any keys? Or how does the script behave in that case?
... View more
04-02-2019
04:42 PM
My flow is getting data from one database and inputting the data into another. Because I want to Insert/Update the data in the target table I insert the data into a staging table. Afterwards I merge the staging table with the "final" table and truncate the staging table. However if some data gets put into the staging table in the meantime (between merge and truncate) then I lose that data. How could i model the flow to make sure this does not happen? Below is my current "wrong" implementation.
... View more
Labels:
- Labels:
-
Apache NiFi
03-25-2019
03:01 PM
I have the following Nifi Flow: QueryDatabaseTable -> AvroToJSON -> SplitJSON -> ExtractText (write value to attribute) -> FetchDistributedMapCache (check if the attribute is available in cache, which is set in another flow) -> UpdateRecord (Rename some fields) -> MergeContent -> PutDatabaseRecord And sometimes this error occurs: The FlowFile is not routed to failure, but kept in the queue and the Processor is now stuck in an endless loop trying to process the faulty FlowFile. When i skip the MergeContent/MergeRecord Processor and just write to the database for each record this error does not occurr, but writing for each object is very slow. Why does this happen? How can I debug this?
... View more
Labels:
- Labels:
-
Apache NiFi