[
https://issues.apache.org/jira/browse/NIFI-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327854#comment-16327854
]
ASF subversion and git services commented on NIFI-4756:
-------------------------------------------------------
Commit 7c1ce172232d5fd8ab2a1c1649a9dcbf1a9d08d7 in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=7c1ce17 ]
NIFI-4756: Updated PublishKafkaRecord processors to include attributes
generated from schema write strategy into the message headers when appropriate
This closes #2396.
Signed-off-by: Bryan Bende <[email protected]>
> 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)