[ https://issues.apache.org/jira/browse/NIFI-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327838#comment-16327838 ]
ASF GitHub Bot commented on NIFI-4756: -------------------------------------- Github user bbende commented on the issue: https://github.com/apache/nifi/pull/2396 +1 looks good, verified 0.11 and 1.0 processors send attributes in headers correctly, there was a minor check-style error that i am fixing while merging > PublishKafkaRecord should consider schema-related attributes when publishing > records > ------------------------------------------------------------------------------------ > > Key: NIFI-4756 > URL: https://issues.apache.org/jira/browse/NIFI-4756 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Reporter: Mark Payne > Assignee: Mark Payne > Priority: Major > Fix For: 1.6.0 > > > Currently, if PublishKafkaRecord (0_10, 0_11, 1_0) is configured to write > flowfile attributes as headers, the attributes generated by the Schema Writer > are not taken into account. For example, if the Avro Record Writer is used > and configured with a Write Strategy of "Write 'schema.name' attribute" and > the Attributes to Send as Headers is set to "schema.*" then the schema.name > attribute is not sent. This is because the schema.name attribute does not > exist on the FlowFile yet but is generated by the Schema Writer -- This message was sent by Atlassian JIRA (v7.6.3#76005)