[
https://issues.apache.org/jira/browse/MINIFICPP-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522380#comment-16522380
]
ASF GitHub Bot commented on MINIFICPP-427:
------------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/360#discussion_r197826693
--- Diff: extensions/librdkafka/PublishKafka.cpp ---
@@ -262,7 +269,7 @@ void PublishKafka::onTrigger(const
std::shared_ptr<core::ProcessContext> &contex
if (flowFile->getAttribute(KAFKA_KEY_ATTRIBUTE, value))
kafkaKey = value;
- PublishKafka::ReadCallback callback(flowFile->getSize(), max_seg_size_,
kafkaKey, rkt_);
+ PublishKafka::ReadCallback callback(flowFile->getSize(), max_seg_size_,
kafkaKey, rkt_, rk_, flowFile, attributeNameRegex);
--- End diff --
Do we need to send the size and the flow file?
> Add headers support in PublishKafka
> -----------------------------------
>
> Key: MINIFICPP-427
> URL: https://issues.apache.org/jira/browse/MINIFICPP-427
> Project: NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Pierre Villard
> Assignee: Dustin Rodrigues
> Priority: Major
>
> Would be nice to add headers support in PublishKafka (assuming Kafka 0.11+)
> in order to preserve attributes of the flow files.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)