Re: How to get files after a condition has been met

2024-02-06 Thread Matthew Hawkins
The wait/notify pattern might work here too. https://pierrevillard.com/2018/06/27/nifi-workflow-monitoring-wait-notify-pattern-with-split-and-merge/ Wait the getfile and notify when the validatejson is stopped? On Tue, 6 Feb 2024, 22:55 Mike Thomsen, wrote: > I think the easiest way to do

Re: How to get files after a condition has been met

2024-02-06 Thread Mike Thomsen
I think the easiest way to do the conditional fetch would be to use ConsumeKafka (or something equivalent for this use case like ListenHttp) and FetchFile. On Mon, Feb 5, 2024 at 4:23 PM Dan S wrote: > I have a requirement to load Json Schemas into the > StandardJsonSchemaRegistry from the file

How to get files after a condition has been met

2024-02-05 Thread Dan S
I have a requirement to load Json Schemas into the StandardJsonSchemaRegistry from the file system for use in validating JSON with the ValidateJson processor. I am trying to use the NIFI Rest API to update the StandardJsonSchemaRegistry. I am able to stop the ValidateJson processor and disable the