On this page
Table of Contents |
---|
Overview
Info |
---|
This feature is in private beta. Email support@snaplogic.com for an invitation to gain early access. |
Overview
Key Components
The Cache Pipelines feature introduces a new property to the the Edit Pipeline dialog, where you can enhances pipeline management. It enables you to specify a pipeline to run and an alias to use to reference the for referencing its output documents in the pipeline run output. You can then reference a cache pipeline with the cached data as the value. The alias value is then used as a reference Edit Pipeline dialog box. This alias is used in the new retrieve expression language function in the SnapLogic expression language. The path to the cache pipeline can be defined by to access cached data. You can also define the cache pipeline's path through an expression based on the pipeline parameters.
Cache Pipeline properties that allow specification of aKey Features:
Define pipeline path and corresponding cache lookup alias.
Retrieve Utilize retrieve expression language functions that allow you to look up records based on a for record lookup with cache alias and a filter object.
Caches Store up to 100,000 records using a pipeline-local in-memory lookup
Values of pipeline parameters are overridden by the parameters from the main pipeline
Workflow
Create a main pipeline
Add a new pipeline or use an existing pipeline that contains data that you want to cache for reference in the main pipeline.
Set the pipeline path to the pipeline created in Step 2 and specify an alias for the cached data
Add a mapper that retrieves data from the cache specified in Step 3
within the pipeline.
Parameter values from the main pipeline override pipeline parameters.
Prerequisites
Your Org must have a subscription to the Cache Pipelines feature.
Usage Guidelines
Cache Pipelines must have the following input and output views:
0 unconnected input views (Binary or Document)
1 unconnected Document output view
0 unconnected Binary output views
The output document must have a flattened document structure. None of the values for primary keys can have objects or arrays as part of their structure.
Pipeline parameters are passed to the Cache Pipelines from the main pipelines that specify them. This also passes through the Pipeline Execute Snap to the child pipeline and to the child pipeline’s cache pipeline.
If only the alias or path (but not both) are defined, that pipeline is skipped.
Pipelines may be defined using expression properties, specifically leveraging pipeline parameters, but not leveraging expression library functions.
The definition of the same alias in multiple Cache Pipelines will result results in the last defined pipeline populating the data for that specific Cache Pipelines.
Limitations
If the last Snap in your cache pipeline has an output document that contains an array or object as part of its structure, you need to restructure your data or remove those fields to produce a flat document structure.
If an Ultra Task has a cache pipeline, updates to the cache pipeline do not force an Ultra Task to restart.
Dynamic validation is limited to 50 documents.
Pipelines with Cache Pipelines need to run to completion. Accordingly, we do not recommend using the messenger service Snaps (like JMS or Kafka) or the Ultra Polling design.
The following features are untested in combination with Cache Pipelines:
Error Pipelines
Resumable Pipelines
ELT Snap Packs