Vincent,

Embedded NiFi still has a long ways to go to be really useful, in my opinion; 
and I don't know if anyone is actively working on those improvements.

The PR Andy mentioned simply allows you to startup NiFi inside your process 
instead of running it directly from a startup script, but that doesn't mean you 
magically have access to all of NiFi's internals (someone can correct me if I'm 
wrong). If you want to actually interact with your new NiFi instance you will 
still need to use the REST API.

Thanks,
  Peter

-----Original Message-----
From: Vincent Russell [mailto:vincent.russ...@gmail.com] 
Sent: Tuesday, January 23, 2018 03:07
To: dev@nifi.apache.org
Subject: [EXT] Re: Embedded Nifi

Thanks Andy,

This looks a great first step.   It would be nice to have a builder pattern
and the ability to download the "executable" from a nexus or the local 
filesystem like embedded elastic, but perhaps that might be better in some 
third party library.

https://github.com/allegro/embedded-elasticsearch

-Vincent

On Mon, Jan 22, 2018 at 1:37 PM, Andy LoPresto <alopre...@apache.org> wrote:

> Vincent,
>
> I plan to merge this pull request [1] for NIFI-4424 [2] by Peter 
> Horvath today. Does this satisfy your requirements?
>
> [1] https://github.com/apache/nifi/pull/2251
> [2] https://issues.apache.org/jira/browse/NIFI-4424
>
> Andy LoPresto
> alopre...@apache.org
> *alopresto.apa...@gmail.com <alopresto.apa...@gmail.com>* PGP 
> Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
>
> On Jan 21, 2018, at 7:35 AM, Vincent Russell 
> <vincent.russ...@gmail.com>
> wrote:
>
> Devs,
>
> Does an embedded nifi exist that would start a nifi with a provided
> workflow?   I am aware of the Mock framework, but I am looking for
> something for integration tests.
>
> Thanks,
> Vincent
>
>
>

Reply via email to