[
https://issues.apache.org/jira/browse/NIFI-14470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945310#comment-17945310
]
Rabii commented on NIFI-14470:
------------------------------
The described issue was tested on 2.0.0-M4 and 2.3.0.
I am generating a json using GenerateFlowFile processor, then adding an
attribute to the messages using EvaluateJsonPath processor and publish the
message to kafka with PublishKafka processor. The same flow works when I switch
from PublishKafka to PublishKafka2_6
> 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
>
> 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)