ira/browse/NIFI-1954
On Wed, May 4, 2022 at 1:07 PM Markiewicz, Paul wrote:
>
> Hello, my name is PaulM.
>
> I am very new at both NiFi and relatively new at Python.
>
>
> I have successfully cobbled together a NiFi ExecuteScript processor
> (complete with embeded Python Code)
Hello, my name is PaulM.
I am very new at both NiFi and relatively new at Python.
I have successfully cobbled together a NiFi ExecuteScript processor
(complete with embeded Python Code).
That python code CAN/DOES read the original Flow-File content, sets/updates
a NiFi attribute of my choosing
Hello!
Please, can you tell me how to debug code in ExecuteScript blocks?
I'm using ExecuteScript 1.12.1, ScriptEngine: ECMAScript.
УВЕДОМЛЕНИЕ О КОНФИДЕНЦИАЛЬНОСТИ: Это электронное сообщение и любые документы,
приложенные к нему, содержат конфиденциальную информацию. Настоящим уведомляем
Вас
Vyshali,
Another trick you can do that works very well if you have a lot of
flowfiles to process is use session.get(int) to grab a batch. Obviously,
keep the volume you grab tuned to reasonable memory limits and all that,
but you can use that to make the script do a lot more work in one single
Thank you so much Matt.
I will try the solutions provided and come back in case of questions.
Thanks,
Vyshali
--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
Hi Matt,
I'm using Jython in executescript because of my requirement.I cant switch to
groovy because I'm using packages supported by Python.Is there any way to
increase the speed of the executescript processor.Please help me with your
ideas.
Thanks,
Vyshali
--
Sent from:
Thanks for the reply Joe,
As matt suggested we moved to groovy.
Thanks
Bala
--
View this message in context:
http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735p13782.html
Sent from the Apache NiFi Developer List mailing list archive
to influxdb
4) write flow file attributes
Without influxdb calling, the code is fast. Can you suggest me about
improving the performance of the below mentioned groovy script
Thanks
Bala
--
View this message in context:
http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow
ustom logic
>>
>> But its taking 3 seconds to process. Please guide me.
>>
>> Thanks,
>> Bala
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735.html
>> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
tom logic
>
> But its taking 3 seconds to process. Please guide me.
>
> Thanks,
> Bala
>
>
>
> --
> View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
But its taking 3 seconds to process. Please guide me.
Thanks,
Bala
--
View this message in context:
http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
11 matches
Mail list logo