Modernizing Nifi Archetypes

2024-05-08 Thread Bob Paulin
Hi, I've created https://issues.apache.org/jira/browse/NIFI-13187 to suggest some changes to modernize the Nifi Archetypes. Specifically: Modernize Nifi's Java archetypes using Immutable Map, List utils Provide more readable property and relationship names Provide example of flow

Dealing with cross OS Python venv

2024-03-13 Thread Bob Paulin
e an opinion on whether this sort of OS toggling should be automatic or just possible by manually updating the configs.  I'm happy to update my PR to add some automatic toggling based on OS.  Thanks! - Bob Paulin [1] https://issues.apache.org/jira/browse/NIFI-12514 [2] https://docs.

Dealing with cross OS Python venv

2024-03-13 Thread Bob Paulin
e an opinion on whether this sort of OS toggling should be automatic or just possible by manually updating the configs.  I'm happy to update my PR to add some automatic toggling based on OS.  Thanks! - Bob Paulin [1] https://issues.apache.org/jira/browse/NIFI-12514 [2] https://docs.

Re: Dealing with cross OS Python venv

2024-03-14 Thread Bob Paulin
this time. Thanks! - Bob [1] https://github.com/apache/nifi/pull/8500 On 3/13/2024 5:09 PM, Bob Paulin wrote: Hi, Recently I ran into an existing issue [1] running Nifi's python extensions on windows.  It appears that windows uses Scripts instead of bin to store the python vi

[NIFI-13808] Provenance on CLONE events

2024-10-29 Thread Bob Paulin
displaying the parent FlowFile's information.  My interest is improving the experience documented in [3].  Open to suggestions if there are other paths to doing so. Sincerely, Bob Paulin [1] https://github.com/apache/nifi/blob/aacbd514ce4af7e41f54fc2418394c563395c9bd/nifi-framework-b

Re: [NIFI-13808] Provenance on CLONE events

2024-10-31 Thread Bob Paulin
oes keep the cloned content as it was at the time of cloning even when the cloned content is modified as it is in the Python Processors. It also continues to display correctly for sent and uploaded content (Tried with PutFile). Sincerely, Bob Paulin [1] https://github.com/bobpaulin/nifi/tree/NIFI-

Re: NIFI-14340 Replace the use of finalize

2025-03-19 Thread Bob Paulin
this method is not static. So how is it possible for the Runnable registered with the Cleaner not to have a handle on the StandardProcessSession instance? On Tue, Mar 18, 2025 at 10:46 AM Bob Paulin wrote: Formatting came through poorly. Please see [1] - Bob [1] https://gist.githu

Re: NIFI-14340 Replace the use of finalize

2025-03-18 Thread Bob Paulin
Hi In both cases it appears that finalize is being used as resource clean up following the object being de-referenced.  In both cases finalize is not the primary means of cleanup but rather a fall-through for exceptional cases where processing is interrupted.  The consequences are different i

Re: NIFI-14340 Replace the use of finalize

2025-03-18 Thread Bob Paulin
Formatting came through poorly. Please see [1] - Bob [1] https://gist.github.com/bobpaulin/ce6a83e45cd6bbf34051935324f10c63 On 2025/03/18 14:40:19 Bob Paulin wrote: > Hi > > In both cases it appears that finalize is being used as resource clean > up following the object being d

Re: NIFI-14340 Replace the use of finalize

2025-03-29 Thread Bob Paulin
chronization, check carefully that the synchronization does not result in deadlock or delay in the cleanup. For example, if the cleanup involved closing a network connection, it would be prudent to fork off a task independent of the /Cleaner/ thread. On Wed, Mar 19, 2025 at 8:52 PM Bob P