[ 
https://issues.apache.org/jira/browse/NIFI-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294051#comment-15294051
 ] 

ASF GitHub Bot commented on NIFI-1909:
--------------------------------------

Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/459#discussion_r64097258
  
    --- Diff: 
nifi-nar-bundles/nifi-avro-bundle/nifi-avro-processors/src/main/java/org/apache/nifi/processors/avro/ConvertAvroToJSON.java
 ---
    @@ -92,6 +103,7 @@
             .build();
     
         private List<PropertyDescriptor> properties;
    +    private Schema schema = null;
    --- End diff --
    
    This could be marked by multiple different threads concurrently, so we need 
to make sure that it is protected. Marking it as 'volatile' should take care of 
this.


> Add ability to handle schemaless records to ConvertAvroToJson
> -------------------------------------------------------------
>
>                 Key: NIFI-1909
>                 URL: https://issues.apache.org/jira/browse/NIFI-1909
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Ryan Persaud
>
> In the interest of saving space, Avro messages are not always accompanied by 
> their schema.  Currently, ConvertAvroToJson does not handle such schemaless 
> records.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to