You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/04/16 17:59:00 UTC
[jira] [Created] (NIFI-7370) Update scripted component
documentation about Jython issues
Matt Burgess created NIFI-7370:
----------------------------------
Summary: Update scripted component documentation about Jython issues
Key: NIFI-7370
URL: https://issues.apache.org/jira/browse/NIFI-7370
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Matt Burgess
NIFI-4004 introduced a new default interface method for RecordReaderFactory, in order
to avoid breaking API compatibility for those with custom
record readers. 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.
As was done in NIFI-5995 for ScriptedLookupService, this Jira proposes to update the documentation for any other scripted component for which its underlying interface has default methods, and also to remove the Jython script engine from the allowable values for the Script Engine property. One such component is ScriptedReader, but there may be others as well.
[1] [https://bugs.jython.org/issue2403|https://bugs.jython.org/issue2403]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)