mirror of https://github.com/apache/nifi.git
NIFI-4437: This closes #2183. When using ConsumeKafka_0_11 and no message demarcator, ensure that we add FlowFile Attributes for any Message Header that matches the 'Headers to Add as Attributes (Regex)' property
Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
parent
582df7f4e8
commit
7ad7520150
|
@ -402,6 +402,7 @@ public abstract class ConsumerLease implements Closeable, ConsumerRebalanceListe
|
||||||
out.write(value);
|
out.write(value);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
flowFile = session.putAllAttributes(flowFile, getAttributes(record));
|
||||||
tracker.updateFlowFile(flowFile);
|
tracker.updateFlowFile(flowFile);
|
||||||
populateAttributes(tracker);
|
populateAttributes(tracker);
|
||||||
session.transfer(tracker.flowFile, REL_SUCCESS);
|
session.transfer(tracker.flowFile, REL_SUCCESS);
|
||||||
|
|
Loading…
Reference in New Issue