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?
---