You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "AdFel (JIRA)" <ji...@apache.org> on 2018/01/08 10:59:00 UTC

[jira] [Created] (NIFI-4746) ConfluentSchemaRegistry Controller service only uses latest schema, failing if schema changed

AdFel created NIFI-4746:
---------------------------

             Summary: ConfluentSchemaRegistry Controller service only uses latest schema, failing if schema changed
                 Key: NIFI-4746
                 URL: https://issues.apache.org/jira/browse/NIFI-4746
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.4.0
            Reporter: AdFel


When ConsumeKafkaRecord_01X uses the ConfluentSchemaRegistry 1.4.0 the id in the magic byte is not used to merge the latest schema with the writer schema, as stated in the Apache Avro documentation. Nifi instead compares the id to the latest schema's ID, and if they do not match, the flowfile is sent to the parse.failure. To fix this bug the ConfluentSchemaRegistry controller should merge the writer's schema with the latest schema, using the ID written in the magic byte



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)