Lookup attributes from a lookup service
lookup, cache, enrich, join, attributes, Attribute Expression Language
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.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Lookup Service | lookup-service | Controller Service API: StringLookupService Implementations: PropertiesFileLookupService SimpleScriptedLookupService SimpleKeyValueLookupService ElasticSearchStringLookupService SimpleDatabaseLookupService DistributedMapCacheLookupService SimpleCsvFileLookupService XMLFileLookupService CouchbaseKeyValueLookupService | The lookup service to use for attribute lookups | |
Include Empty Values | include-empty-values | true |
| Include null or blank values for keys that are null or blank |
Supports Sensitive Dynamic Properties: No
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|---|---|
The name of the attribute to add to the FlowFile | The name of the key or property to retrieve from the lookup service | Adds a FlowFile attribute specified by the dynamic property's key with the value found in the lookup service using the the dynamic property's value Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Name | Description |
---|---|
failure | FlowFiles with failing lookups are routed to this relationship |
unmatched | FlowFiles with missing lookups are routed to this relationship |
matched | FlowFiles with matching lookups are routed to this relationship |