[
https://issues.apache.org/jira/browse/NIFI-14470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946712#comment-17946712
]
Rabii edited comment on NIFI-14470 at 4/23/25 2:46 PM:
-------------------------------------------------------
This is the flowfile I used for the test :
[^NiFi__TEST_Flow.json]
^If I used key instead of ${key} in version 2.3.0, it works. So it is not
possible anymore to set the key as string (static key) ?^
was (Author: JIRAUSER309333):
This is the flowfile I used for the test :
[^NiFi__TEST_Flow.json][^NiFi__TEST_Flow.json]
^If I used key instead of ${key} in version 2.3.0, it works. So it is not
possible anymore to set the key as string (static key) ?^
> 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)