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

Paul Grey commented on NIFI-14470:
----------------------------------

Thanks for the flow definition.  I see what you mean; the behavior for the new 
PublishKafka does not match the old behavior.

It makes sense that the behaviors should align; so I'm putting together a PR.  
Let's see what the community thinks about the changeset.

> PublishKafka not able to add kafka key from attribute
> -----------------------------------------------------
>
>                 Key: NIFI-14470
>                 URL: https://issues.apache.org/jira/browse/NIFI-14470
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M4
>            Reporter: Rabii
>            Priority: Major
>         Attachments: NiFi__TEST_Flow.json
>
>
> Using 2.0.0-M4 to migrate from PublishKafka2_6/ConsumeKafka2_6 to the new 
> PublishKafka/ConsumeKafka Processors since M4 supports both type of 
> processors.
>  
> Generate flowFile as json, attach an attribute to the messages, publish 
> message using PublishKafka and kafka key from the created attribute.
> Result message without key. It should be easy to reproduce.
> The same logic works with PublishKafka2_6



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to