[ https://issues.apache.org/jira/browse/NIFI-7370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Witt resolved NIFI-7370. ---------------------------- Resolution: Won't Fix > 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 > Priority: Minor > > 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.20.10#820010)