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 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 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 StandardJsonSchemaRegistry using the NIFI Rest
> > API. I do not know though how I can indicate either to GetFile or
> ListFile
> > (to allow for retrieval of the JSON schemas) that ValidateJson has been
> > stopped and StandardJsonSchemaRegistry has been disabled since both of
> > these processors do not allow for an incoming relationship. How can I do
> > this and if this is not possible how can I accomplish this?
> >
>


Using Nifi Registry 1.25.0 for with Nifi 2.0.0

2024-02-06 Thread Tobias Kellermann
Hello togehter,

I have a question of compatibility of nifi registry 1.25.0 with Nifi 2.0.

Can I use nifi registry 1.25.0  together with clients of 1.25 and 2.0.x ?

Because we have 2 supported version of our erp software which one runs with 
java 8  and the newer one with java 17.

So i must run the flow in to different nifi versions, because we use the nifi 
rest api to deploy the flow.

Thank you for your answer.

With regards

Tobias Kellermann

--
Mit freundlichen Grüßen / Best regards,
Tobias Kellermann

Principal, Product Ownership & Business Analysis
Forterro | Abas Germany 
tobias.kellerm...@abas.de 
https://abas-erp.com/de abas Software GmbH | Gartenstraße 67 | 76135 Karlsruhe 
| Germany Managing Directors / Geschäftsführer: Marcus Pannier, Paul Smolinski 
Registered Office / Sitz der Gesellschaft: Karlsruhe Commercial Register / 
Handelsregister: HRB 734651 Amtsgericht Mannheim Informationen zum Umgang mit 
Ihren personenbezogenen Daten nach den Art. 13 und 14 EU-DSGVO finden Sie unter 
https://abas-erp.com/de/datenschutz. Further information according to Art. 13 
and 14 GDPR about processing your personal data you can find here: 
https://abas-erp.com/en/privacy-copyright.


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 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 StandardJsonSchemaRegistry using the NIFI Rest
> API. I do not know though how I can indicate either to GetFile or ListFile
> (to allow for retrieval of the JSON schemas) that ValidateJson has been
> stopped and StandardJsonSchemaRegistry has been disabled since both of
> these processors do not allow for an incoming relationship. How can I do
> this and if this is not possible how can I accomplish this?
>