You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Andrew Zah <an...@ossys.com> on 2023/02/03 21:42:55 UTC

How can I autoload nars without bumping the version number?

Hi,

If I have for example a foobar-1.0.0.nar in $NIFI_HOME/extensions, and I 
rebuild it, nifi currently doesn't detect that the file has changed and 
therefore doesn't reload it.

How can I get nifi to automatically reload it in this case? (and unload 
nars if they leave the extensions directory).

Thanks,
Andrew

Re: How can I autoload nars without bumping the version number?

Posted by Bryan Bende <bb...@gmail.com>.
Hello,

Currently loading NARs is more geared towards a release process where
the NARs would be expected to bump their version, there isn't a way to
keep reloading the same version of a NAR like a SNAPSHOT version.

Fully unloading classes in the JVM is challenging, so there isn't a
concept of unloading a NAR until a restart.

Thanks,

Bryan

On Fri, Feb 3, 2023 at 4:43 PM Andrew Zah <an...@ossys.com> wrote:
>
> Hi,
>
> If I have for example a foobar-1.0.0.nar in $NIFI_HOME/extensions, and I
> rebuild it, nifi currently doesn't detect that the file has changed and
> therefore doesn't reload it.
>
> How can I get nifi to automatically reload it in this case? (and unload
> nars if they leave the extensions directory).
>
> Thanks,
> Andrew