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.’
Tags:
map, cache, put, distributed
Properties:
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the Expression Language Guide.
Name | Default Value | Allowable Values | 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 Supports Expression Language: true |
||
Distributed Cache Service |
Controller Service API: DistributedMapCacheClient Implementation: DistributedMapCacheClientService |
The Controller Service that is used to cache flow files | |
Cache update strategy | replace |
* Replace if present ![]() * Keep original ![]() |
Determines how the cache is updated if the cache already contains the entry |
Max cache entry size | 1 MB | 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 |
Reads Attributes:
None specified.
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. |
See Also:
DistributedMapCacheClientService, DistributedMapCacheServer, FetchDistributedMapCache
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page