You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Vincent Russell <vi...@gmail.com> on 2018/01/26 14:32:12 UTC

***UNCHECKED*** Re: [EXT] Re: Embedded Nifi

Thank you Peter.

At this point I only wish to make sure that an existing flow that is
already created in a flow.xml file works within an integration test.   I am
hoping that this can be achieved with starting Nifi programmatically this
way.

Thanks,

On Tue, Jan 23, 2018 at 9:22 PM, Peter Wicks (pwicks) <pw...@micron.com>
wrote:

> 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.russell@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 <al...@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
> > alopresto@apache.org
> > *alopresto.apache@gmail.com <al...@gmail.com>* PGP
> > Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
> >
> > On Jan 21, 2018, at 7:35 AM, Vincent Russell
> > <vi...@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
> >
> >
> >
>