FEED PRIORITY
Description
This algorithm is used to set the priority and order in which feeds will be sourced during the sourcing pipeline phase.
Config Location
Config is provided within consolidationAlgorithm element, within the dataPoint element in a schema.
Supported Data Types
- Double
- Decimal
- Integer
- Json
- String
Config Requirements
Config parameters are required. These are defined below.
Config Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Example Result
- the data point "NAME" is sourcing from feeds: "p1", "p2", and "p3"
- based on the order of feeds in "priorityList", the feeds will be sourced in the following order: "p1", "p3", "p2"
Config Parameters
name | acceptable values | comment |
---|---|---|
priorityList | array accepting data feed names. String values | data feeds must be associated with the current schema |
Common Mistakes
- Config (
{} ) options are required. If no configuration, or improper configuration is provided then a block violation will be thrown. - See violations for more on Apiro violations and what they look like in the Apiro UI or Apiro logs.