GetIgniteCache

Description:

Get the byte array from Ignite Cache and adds it as the content of a FlowFile.The processor uses the value of FlowFile attribute (Ignite cache entry key) as the cache key lookup. If the entry corresponding to the key is not found in the cache an error message is associated with the FlowFile Note - The Ignite Kernel periodically outputs node performance statistics to the logs. This message can be turned off by setting the log level for logger 'org.apache.ignite' to WARN in the logback.xml configuration file.

Tags:

Ignite, get, read, cache, key

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 NiFi Expression Language.

NameDefault ValueAllowable ValuesDescription
Ignite Spring Properties Xml FileIgnite spring configuration file, <path>/<ignite-configuration>.xml. If the configuration file is not provided, default Ignite configuration configuration is used which binds to 127.0.0.1:47500..47509
Ignite Cache NameThe name of the ignite cache
Ignite Cache Entry IdentifierA FlowFile attribute, or attribute expression used for determining Ignite cache key for the Flow File content
Supports Expression Language: true

Relationships:

NameDescription
successAll FlowFiles that are written to Ignite cache are routed to this relationship
failureAll FlowFiles that cannot be written to Ignite cache are routed to this relationship

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
ignite.cache.get.failed.reasonThe reason for getting entry from cache

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

See Also:

PutIgniteCache