Hello! "FlowFile Attribute Header Pattern" is a dependent property, and is available to configure when the property "Publish Strategy" is set to "Use Content as Record Value" [1]. This is because the headers are specified explicitly in the wrapper record for publish strategy "Use Wrapper".
"Publish Strategy" is also a dependent property, and is available when a "Record Reader" is configured [2]. Not sure about this one... [1] https://github.com/apache/nifi/blob/c4420b410b8b7f23853ade996caba3087555372a/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-processors/src/main/java/org/apache/nifi/kafka/processors/PublishKafka.java#L239 [2] https://github.com/apache/nifi/blob/c4420b410b8b7f23853ade996caba3087555372a/nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-processors/src/main/java/org/apache/nifi/kafka/processors/PublishKafka.java#L219 On Tue, Jan 7, 2025 at 6:53 AM Berry Österlund <[email protected]> wrote: > Hi > > I'm running 2.0.0-M4 right now, and we are trying to upgrade to 2.0.0 or > 2.1.0. But in the PublishKafka processor, there is a field missing as far > as I can see. It's the "FlowFile Attribute Header Pattern". It exists in > 2.0.0-M4 and earlier but I cant find it after upgrade. Should it be there > and it's a bug or is this handled some other way now? > > Regards > Berry >
