Matt Burgess created NIFI-5123:
----------------------------------

             Summary: Enable extensions to use SchemaRegistryService
                 Key: NIFI-5123
                 URL: https://issues.apache.org/jira/browse/NIFI-5123
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Matt Burgess


Currently SchemaRegistryService is in the nifi-record-serialization-services 
NAR, which means that other extensions (unless they had 
nifi-record-serialization-services-nar as a parent which is not recommended) 
cannot make use of this abstract class. The class uses utilities from 
nifi-avro-record-utils such as SchemaAccessUtils, and is a very helpful base 
class used to offer a consistent user experience for selecting schemas (by 
name, by test, from a schema registry, etc.). Other extensions wishing to 
provide access to a schema registry would duplicate much of the logic in 
SchemaRegistryService, which offers challenges for consistency and 
maintainability.

This Jira proposes to move SchemaRegistryService into nifi-avro-record-utils, 
where it can be leveraged by any extension that depends on it, and thus we can 
strongly recommend that record-aware processors that will interact with a 
schema registry use SchemaRegistryService as a parent class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to