Field | Required | Default | Multiple | Notes | Example | id|||||
---|---|---|---|---|---|---|---|---|---|---|
description | Yes | - | No | IdName of the | credential to updatecomponent application. | "2f287669-d163-4e35-ad17-6bbfe9df3778" | ||||
description | Yes | - | No | Name of the credential object. | "Elastic Cache LookupCredential" | |||||
"Elastic Cache Lookup" | ||||||||||
properties | Yes | - | No | Configuration object | ||||||
Elasticsearch Settings | Server url | text | - | Complete Url where the feeds are going to be send. | http://localhost:9200/bulk_ | |||||
Authentication | alternatives | Yes | User with the permissions to read from the Elastic index specified | none | ||||||
Index | ||||||||||
Connection Settings | Idle connection timeout | number | 3600000 | Maximum time (in milliseconds) to keep an idle connection open. | ||||||
Max connections | number | 100 | Maximum number of connections to be opened. | |||||||
Connections per target | number | 10 | Maximum number of connections opened for the same target. | |||||||
Connection timeout | number | 15000 | Maximum time (in milliseconds) to wait for the connection. | |||||||
Socket timeout | number | 15000 | Maximum time (in milliseconds) to wait for a socket response. | |||||||
Connection throttling | boolean | false | Checkbox to choose the enable connection throttling. | |||||||
Throttling period | number | 5000 | Time period (in milliseconds) to throttle the connection. | |||||||
Max connections per period | number | 500 | Maximum number of connections used during the throttling period. | |||||||
Maximum retries | number | 3 | Maximum number of retries a failed document. | |||||||
Retry delay | number | 5000 | Time (in milliseconds) to wait before a retry. | |||||||
Cache | Use cache | alternatives | true | Results should be cached in memory. | ||||||
Cache Eviction Policy | alternatives | size | How items should be selected for being deleted from the in-memory cache. | |||||||
Max number of entries | number | 1000 | Max total number of entries to keep in the cache. | |||||||
Max Total Weight (MB) | number | 500 | Specifies the maximum weight of entries the cache must contain. | |||||||
Time (min) | number | 5 | Remove records that have been idle for an amount of time in minutes. | |||||||
Lookup Fields | Index lookup field | text | - | Specify Elastic index field name for the lookup. | ||||||
Source lookup field | text | - | Specify field name from the incoming AspireObject for the lookup. Field availability will be searched first in 'doc' and then in 'doc.connectorSpecific' section. | |||||||
Uppercase the source lookup field value | boolean | true | Convert the value of the source field into UPPERCASE value. | |||||||
Lookup output field | text | - | Output fields from the lookup will be placed under this configured object. | |||||||
Debug | boolean | false | Option if you want debug messages enabled. | |||||||
Hit size | number | 1000 | Max mount of hits returned by the cache lookup. If -1 all hits will be returned. | properties | Yes | - | No | Configuration object
Code Block | ||||
---|---|---|---|---|
| ||||
{ "id": "2a5ca234-e328-4d40-bb2a-2df3e550b065", "description": "<Connector Name> Credential", "properties": { } } |
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
id | Yes | - | No | Id of the connection to update | "89d6632a-a296-426c-adb0-d442adcab4b0", |
description | No | - | No | Name of the connection object. | "My Connection" |
throttlePolicy | No | - | No | Id of the throttle policy that applies to this connection object. | "f5587cee-9116-4011-b3a9-6b235b333a1b" |
routingPolicies | No | [ ] | Yes | The ids of the routing policies that this connection will use. | ["313de87c-3cb9-4fe0-a2cb-17f75ce7d0c7", "b4d2579f-1a0a-4a8b-9fd4-d42780003b36"] |
properties | Yes | - | No | Configuration object | |
Code Block | ||
---|---|---|
| ||
{ "id": "89d6632a-a296-426c-adb0-d442adcab4b0", "description": "<Connector Name> Test Connector", "properties": { } } |