You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Some Aspire components must be configured before the settings.json is read like the NoSQL provider. This configuration is done using environment variables or JVM parameters.

Some components configured in the settings file like the Worker and Manager node allows configuration with environment variables or JVM parameters as an alternative

On this page

Format


All properties can be passed either as a environment variable or as a JVM parameter. The "." and "_" characters can be replaced with each other.

SET aspire_noSql_elastic_server=http://localhost:9200 //Setting a property as a environment variable
java -Daspire.noSql.elastic.server=http://localhost:9200 //Passing a property like JVM parameter

In the case of environment variables that property name should always use "_" instead of "."

Elasticsearch NoSQL Provider


Bellow are the list of properties to configure the Elasticsearch NoSQL Provider

ParameterRequiredDefaultDescription
aspire.noSql.elastic.serveryeshttp://localhost:9200The elasticsearch server url to use. It can be multiple urls separated by ","
aspire.noSql.elastic.authentication.basicnofalseEnables elasticsearch basic authentication
aspire.noSql.elastic.usernonullThe elasticsearch user to use for basic authentication
aspire.noSql.elastic.passwordnonullThe elasticsearch password to use for basic authentication
aspire.noSql.elastic.authentication.awsnofalseEnables elasticsearch AWS authentication
aspire.noSql.elastic.authentication.useCredentialsProviderChainnofalseOption to use the AWS credentials provider chain to get the credentials
aspire.noSql.elastic.aws.access.keynonullAWS access key for authentication
aspire.noSql.elastic.aws.secret.keynonullAWS secret key for authentication
aspire.noSql.elastic.aws.regionnonullThe AWS region
aspire.noSql.elastic.keepSearchContextAliveno5mThe amount of time to keep elasticsearch scrolls requests search context alive using "m" as a unit
aspire.noSql.elastic.maxRequestSizeno10485760BThe maximum size for a bulk request. The value can be specified in B, K, M and G units
aspire.noSql.elastic.maxConnectionsno100The maximum amount of connections to mantain open.
aspire.noSql.elastic.maxConnectionsPerRouteno10The maximum amount of connections per server
aspire.noSql.elastic.maxRetriesno3The amount of times to retry each request
aspire.noSql.elastic.retriesWaitTimeno5000The time to wait in ms between retries
aspire.noSql.elastic.useThrottlingnofalseEnables requests throttling to elasticsearch
aspire.noSql.elastic.throttlingRateno5000The throttling rate in ms
aspire.noSql.elastic.throttlingConnectionRateno500The maximum amount of requests allowed in the period specified by the throttlingRate
aspire.noSql.elastic.waitTime429no3000The time to wait in ms before retrying a 429 error
aspire.noSql.elastic.bulknotrueEnables using bulk for requests
aspire.noSql.elastic.bulkSizeno500The maximum number of documents to include in a bulk request
aspire.noSql.elastic.bulkInactivityTimeoutno5The inactivity in s before flushing a bulk request
aspire.noSql.elastic.bulkRegularTimeoutno30The maximum amount of time in s for a bulk request to be kept in memory before flushing
aspire.noSql.elastic.debugFilenonullThe path to the debug file, request to ES are logged in this file 
aspire.noSql.elastic.mappingFilenonullThe file path (including file name) that includes the mapping for the indexes used by Aspire. By default mapping included in the provider is used
aspire.noSql.elastic.index.prefixnoaspireThe prefix to use for the indexes created by the provider
aspire.noSql.elastic.debugnofalseEnables debug logging information
aspire.noSql.elastic.usePoolingnotrueEnables HTTP connection pooling

SSL Certificates


Bellow are the list of properties to configure the SSL Certificates

ParameterRequiredDefaultDescription
com.accenture.aspire.ssl.trustAllnofalseConfigure if all certificates should be trusted
com.accenture.aspire.ssl.overwriteFactorynofalseConfigure if the created key managers should overwrite the Java connection factory
com.accenture.aspire.ssl.truststore.filenonullThe path of the trust store file
com.accenture.aspire.ssl.truststore.passwordnonullThe trust store file password
com.accenture.aspire.ssl.truststore.typenojksThe file format of the trust store file
com.accenture.aspire.ssl.keystore.filenonullThe path of the key store file
com.accenture.aspire.ssl.keystore.passwordnonullThe key store file password
com.accenture.aspire.ssl.keystore.typenojksThe file format of the key store file

Security and encryption


Bellow are the list of properties related to the Aspire security and encryption

ParameterRequiredDefaultDescription
aspire.ldap.bind.dn.passwordnonullThe password of the User DN. Not required if the authentication is anonymous 
aspire.encryption.key.filenonull

(Optional) Path (including file name) where master key is located, if not provided a default in-memory key will be used, for production installations it must be always provided. This can also be passed as a JVM parameter or as an environment variable aspire.encryption.key.file.

This should be a 32 byte file, if longer, the first 32 bytes will be used as the master key.

Grant read access to the Aspire user only (chmod 400 <file>)

Worker Node


These properties will be used by all worker nodes in the cluster. 

ParameterRequiredDefaultDescription
com.accenture.aspire.node.worker.maxMemQueueSizeyes4000The maximum number of items to keep in the in memory queue
com.accenture.aspire.node.worker.queueSizeThresholdyes0.5The capacity threshold of the in memory queue before requesting more items to the managers
com.accenture.aspire.node.worker.cleanUpWaitTimeyes300000The wait time in ms for the thread that checks the connectors clean up threshold
com.accenture.aspire.node.worker.cleanUpThresholdyes3600000The time in ms for a connector to be idle before being removed from memory
com.accenture.aspire.node.worker.maxEnqueueRetriesyes5The number of retries to enqueue a item into the framework pipeline
com.accenture.aspire.node.worker.workflow.appCleanUpWaitTimeyes60000The wait time in ms for the thread that checks the workflow applications clean up threshold
com.accenture.aspire.node.worker.workflow.appCleanUpThresholdyes3600000The time in ms for a workflow application to be idle before being removed from memory
com.accenture.aspire.node.worker.tagsno
The tags of the worker node. These tags will determine which items this node can process. Should be a comma separated list of tags.
com.accenture.aspire.node.worker.entryProcessorBaseSleepyes10The base sleep time in ms for the thread in charge of enqueueing received items into the connector framework pipelines
com.accenture.aspire.node.worker.entryProcessorMaxSleepyes2000The maximum sleep in ms for the thread in charge of enqueueing received items into the connector framework pipelines
com.accenture.aspire.node.worker.entryProcessorMaxIterationsyes5The number of iterations without enqueueing items before in increasing the sleep time
com.accenture.aspire.node.worker.entryProcessorMultiplieryes1.25The multiplier used to increase the sleep time after the specified iterations without enqueueing items
com.accenture.aspire.node.worker.batchLoaderBaseSleepyes10The base sleep time in ms for the thread in charge of requesting batches to the manager nodes
com.accenture.aspire.node.worker.batchLoaderMaxSleepyes2000The maximum sleep in ms for the thread in charge of requesting batches to the manager nodes
com.accenture.aspire.node.worker.batchLoaderMaxIterationsyes5The number of iterations without receiving batches from the managers nodes before in increasing the sleep time
com.accenture.aspire.node.worker.batchLoaderMultiplieryes1.25The multiplier used to increase the sleep time after the specified iterations without receiving batches from the managers nodes
com.accenture.aspire.node.worker.connectionTimeoutyes20000The connection timeout for requests to other aspire nodes
com.accenture.aspire.node.worker.socketTimeoutyes20000The socket timeout for requests to other aspire nodes
com.accenture.aspire.node.worker.maxRetriesyes3The number of retries for requests to other aspire nodes
com.accenture.aspire.node.worker.proxyHostnonullThe proxy host to use for requests to other aspire nodes
com.accenture.aspire.node.worker.proxyPortno0The proxy port to use for requests to other aspire nodes. Must be provided if the proxyHost is configured
com.accenture.aspire.node.worker.proxyUsernonullThe proxy user to use for requests to other aspire nodes
com.accenture.aspire.node.worker.proxyPasswordnonullThe proxy password to use for requests to other aspire nodes.
com.accenture.aspire.node.worker.pingFrequencyyes15000The ping timeout used to determine if a node is not working. The node will be marked as failed in this case and the node eventually will shutdown itself
com.accenture.aspire.node.worker.nodeFailureTimeoutyes30000The frequency for the node to ping to Elastisearch. The pings are used to determine if a node is alive and working properly

Manager Node


These properties will be used by all manager nodes in the cluster. 

ParameterRequiredDefaultDescription
com.accenture.aspire.node.manager.scanBatchCreatorBaseSleepyes30The base sleep time in ms for the thread in charge of creating batches from the scan queue
com.accenture.aspire.node.manager.scanBatchCreatorMaxSleepyes2000The maximum sleep in ms for the thread in charge of creating batches from the scan queue
com.accenture.aspire.node.manager.scanBatchCreatorMaxIterationsyes10The number of iterations without creating new scan batches before in increasing the sleep time
com.accenture.aspire.node.manager.scanBatchCreatorMultiplieryes1.25The multiplier used to increase the sleep time after the specified iterations without creating new scan batches
com.accenture.aspire.node.manager.processBatchCreatorBaseSleepyes30The base sleep time in ms for the thread in charge of creating batches from the process queue
com.accenture.aspire.node.manager.processBatchCreatorMaxSleepyes2000The maximum sleep in ms for the thread in charge of creating batches from the process queue
com.accenture.aspire.node.manager.processBatchCreatorMaxIterationsyes10The number of iterations without creating new process batches before in increasing the sleep time
com.accenture.aspire.node.manager.processBatchCreatorMultiplieryes1.25The multiplier used to increase the sleep time after the specified iterations without creating new process batches 
com.accenture.aspire.node.manager.crawlProgressManagerBaseSleepyes100The base sleep time in ms for the thread in charge of monitoring active crawls
com.accenture.aspire.node.manager.schedulerBaseSleepyes10000The base sleep time in ms for the thread in charge of executing seeds based on the configured schedules
com.accenture.aspire.node.manager.maxBatchesyes1000The maximum number of batches the manager will keep in memory
com.accenture.aspire.node.manager.maxBatchItemsyes100The maximum number of documents per batch
com.accenture.aspire.node.manager.connectionTimeoutyes20000The connection timeout for requests to other aspire nodes
com.accenture.aspire.node.manager.socketTimeoutyes20000The socket timeout for requests to other aspire nodes
com.accenture.aspire.node.manager.maxRetriesyes3The number of retries for requests to other aspire nodes
com.accenture.aspire.node.manager.proxyHostnonullThe proxy host to use for requests to other aspire nodes
com.accenture.aspire.node.manager.proxyPortno0The proxy port to use for requests to other aspire nodes. Must be provided if the proxyHost is configured
com.accenture.aspire.node.manager.proxyUsernonullThe proxy user to use for requests to other aspire nodes
com.accenture.aspire.node.manager.proxyPasswordnonullThe proxy password to use for requests to other aspire nodes.
com.accenture.aspire.node.manager.pingFrequencyyes15000The ping timeout used to determine if a node is not working. The node will be marked as failed in this case and the node eventually will shutdown itself
com.accenture.aspire.node.manager.nodeFailureTimeoutyes30000The frequency for the node to ping to Elastisearch. The pings are used to determine if a node is alive and working properly
com.accenture.aspire.node.manager.inProgressJobTimeoutyes3600000The maximum time in ms a job can be in "in-progress" status before being released. Default is 1 hour
com.accenture.aspire.node.manager.inProgressJobTimeoutCheckFrequencyyes1800000How frequently to verify for timed-out "in-progress" jobs

Dashboards


These properties will be used to generate the dashboard links in the UI

ParameterRequiredDefaultDescription
aspire.dashboards.enablednofalseEnables the dashboard links on the UI
aspire.dashboards.baseno
Base URL to Kibana
aspire.dashboards.mainno
Main Dasboard relative URL
aspire.dashboards.metricsno
Metrics Dashboard relative URL
  • No labels