[ 
https://issues.apache.org/jira/browse/NIFI-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-7343:
-----------------------------------
    Fix Version/s: 2.0.0
                   1.23.0
                       (was: 1.latest)
                       (was: 2.latest)
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Allow scripted components to use Schema Registry classes and utils 
> -------------------------------------------------------------------
>
>                 Key: NIFI-7343
>                 URL: https://issues.apache.org/jira/browse/NIFI-7343
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 2.0.0, 1.23.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When the scripted reader/writer components were added (NIFI-3734), the 
> SchemaRegistryService class was in an implementation NAR and as such was not 
> included in the scripting bundle.  However as of NIFI-5123, 
> SchemaRegistryService has been moved into nifi-avro-record-utils, which is a 
> utility JAR for working with things like schema registries.
> nifi-avro-record-utils can be very useful for scripted components and should 
> be available in the NAR for that reason.
> Also, ScriptedReader will have to be updated to call the script's "onEnabled" 
> method if one exists. This was done for BaseScriptedLookupService for the 
> same reason, and should be applied as part of these changes, so the 
> SchemaRegistryService (if used) can be enabled via the script.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to