You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/11/29 20:45:40 UTC

[GitHub] [nifi] greyp9 commented on a diff in pull request #6731: NIFI-10901 - PublishKafka headers not sent in ProducerRecord

greyp9 commented on code in PR #6731:
URL: https://github.com/apache/nifi/pull/6731#discussion_r1035267777


##########
nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-2-6-processors/src/main/java/org/apache/nifi/processors/kafka/pubsub/PublisherLease.java:
##########
@@ -431,7 +431,8 @@ private void addHeaders(final FlowFile flowFile, final Map<String, String> addit
     }
 
     protected void publish(final FlowFile flowFile, final byte[] messageKey, final byte[] messageContent, final String topic, final InFlightMessageTracker tracker, final Integer partition) {
-        publish(flowFile, Collections.emptyList(), messageKey, messageContent, topic, tracker, partition);

Review Comment:
   the defect



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org