Re: Do CRON driven and Yield duration work together?

2017-12-18 Thread Mark Payne
Jim, Yes, they should work together in concert. Thanks -Mark > On Dec 18, 2017, at 12:16 PM, James McMahon wrote: > > Hello. I would like to set up a processor that initiates my workflow as a > CRON driven processor. Furthermore, I must ensure that this processor does > not run for at least

Do CRON driven and Yield duration work together?

2017-12-18 Thread James McMahon
Hello. I would like to set up a processor that initiates my workflow as a CRON driven processor. Furthermore, I must ensure that this processor does not run for at least an hour from its previous run. I would set my processor CRON driven specification like this: 0 15 * * * ? * and I think I should

Re: Prioritizing flowFiles to tailor throughput

2017-12-18 Thread Joe Percivall
Hey James, Sorry, no one responded when you first sent the message but I'm curious what you ended up doing and any findings you had. Also, wanted to bring this thread back up to the attention of the larger group as it brings up some interesting questions I haven't found discussed elsewhere. On th

Re: Unable to use expression language for Hostname and Port on PutTCP processor

2017-12-18 Thread Mark Payne
Hi Gino, The PR that you point to updated the PutTCP processor so that Expression Language can be used to reference variables for the host and port. However, it does not allow the EL to be used to be reference FlowFile attributes. This processor creates a pool of connections to the given host/p

how to use threads in nifi?

2017-12-18 Thread sally
I have one config file inside my nifi environment, in which i should change, check and update values , but i should make this operation in independent threads so that(threads should't flush) here are several things i am interested in: 1. Can i use Synchronized code blocks inside executeScript pro

how to use threads in nifi?

2017-12-18 Thread sally
I have one config file inside my nifi environment, in which i should change, check and update values , but i shouldmake this operation in independent threads so that(threads should't flush) here are several things i am interested in: 1. Can i use Synchronized