Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
From nifi-user:
Short answer: Unfortunately this is not currently possible for Jython
in NiFi 1.7.0+ because of a Jython bug [1] that never made it into a
release.Longer answer:
NIFI-5287[2], released as part of NiFi 1.7.0,
introduced a new default interface method for LookupService, in order
to avoid breaking API compatibility for those with custom
LookupServices. This exposes the bug in [1] for the Jython script
engine. At a major release point (NiFi 2.0) we could refactor the NiFi
codebase to remove the default interface method, update all internal
implementations, and announce that the LookupService API has changed
and thus custom implementations would have to be updated. Not sure if
we can get away with that for minor releases or not, usually breaking
API compatibility is a no-no except for major releases.
[1] https://bugs.jython.org/issue2403
Attachments
Issue Links
- links to