PutDistributedMapCache 2.3.0¶
BUNDLE¶
org.apache.nifi | nifi-standard-nar
DESCRIPTION¶
Gets the content of a FlowFile and puts it to a distributed map cache, using a cache key computed from FlowFile attributes. If the cache already contains the entry and the cache update strategy is ‘keep original’ the entry is not replaced.’
INPUT REQUIREMENT¶
REQUIRED
Supports Sensitive Dynamic Properties¶
false
PROPERTIES¶
Property |
Description |
---|---|
Cache Entry Identifier |
A FlowFile attribute, or the results of an Attribute Expression Language statement, which will be evaluated against a FlowFile in order to determine the cache key |
Cache update strategy |
Determines how the cache is updated if the cache already contains the entry |
Distributed Cache Service |
The Controller Service that is used to cache flow files |
Max cache entry size |
The maximum amount of data to put into cache |
RELATIONSHIPS¶
NAME |
DESCRIPTION |
---|---|
failure |
Any FlowFile that cannot be inserted into the cache will be routed to this relationship |
success |
Any FlowFile that is successfully inserted into cache will be routed to this relationship |
WRITES ATTRIBUTES¶
NAME |
DESCRIPTION |
---|---|
cached |
All FlowFiles will have an attribute ‘cached’. The value of this attribute is true, is the FlowFile is cached, otherwise false. |