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

Compare with Current View Page History

« Previous Version 13 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

ParameterDefaultDescription
aspire.noSql.elastic.serverhttp://localhost:9200(Required) The elasticsearch server url to use. It can be multiple urls separated by ","
aspire.noSql.elastic.authentication.basicfalse(Optional) Enables elasticsearch basic authentication
aspire.noSql.elastic.usernull(Optional) The elasticsearch user to use for basic authentication
aspire.noSql.elastic.passwordnull(Optional) The elasticsearch password to use for basic authentication
aspire.noSql.elastic.authentication.awsfalse(Optional) Enables elasticsearch AWS authentication
aspire.noSql.elastic.authentication.useCredentialsProviderChainfalse(Optional) Option to use the AWS credentials provider chain to get the credentials
aspire.noSql.elastic.aws.access.keynull(Optional) AWS access key for authentication
aspire.noSql.elastic.aws.secret.keynull(Optional) AWS secret key for authentication
aspire.noSql.elastic.aws.regionnull(Optional) The AWS region
aspire.noSql.elastic.keepSearchContextAlive5m(Optional) The amount of time to keep elasticsearch scrolls requests search context alive using "m" as a unit
aspire.noSql.elastic.maxRequestSize10485760B(Optional) The maximum size for a bulk request. The value can be specified in B, K, M and G units
aspire.noSql.elastic.maxConnections100(Optional) The maximum amount of connections to mantain open.
aspire.noSql.elastic.maxConnectionsPerRoute10(Optional) The maximum amount of connections per server
aspire.noSql.elastic.maxRetries3(Optional) The amount of times to retry each request
aspire.noSql.elastic.retriesWaitTime5000(Optional) The time to wait in ms between retries
aspire.noSql.elastic.useThrottlingfalse(Optional) Enables requests throttling to elasticsearch
aspire.noSql.elastic.throttlingRate5000(Optional) The throttling rate in ms
aspire.noSql.elastic.throttlingConnectionRate500(Optional) The maximum amount of requests allowed in the period specified by the throttlingRate
aspire.noSql.elastic.waitTime4293000(Optional) The time to wait in ms before retrying a 429 error
aspire.noSql.elastic.bulktrue(Optional) Enables using bulk for requests
aspire.noSql.elastic.bulkSize500(Optional) The maximum number of documents to include in a bulk request
aspire.noSql.elastic.bulkInactivityTimeout5(Optional) The inactivity in s before flushing a bulk request
aspire.noSql.elastic.bulkRegularTimeout30(Optional) The maximum amount of time in s for a bulk request to be kept in memory before flushing
aspire.noSql.elastic.debugFilenull(Optional) The path to the debug file, request to ES are logged in this file 
aspire.noSql.elastic.mappingFilenull(Optional) The 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.prefixaspire(Optional) The prefix to use for the indexes created by the provider
aspire.noSql.elastic.debugfalse(Optional) Enables debug logging information
aspire.noSql.elastic.usePoolingtrue(Optional) Enables HTTP connection pooling

SSL Certificates


Bellow are the list of properties to configure the SSL Certificates

ParameterDefaultDescription
com.accenture.aspire.ssl.trustAllfalse(Optional) Configure if all certificates should be trusted
com.accenture.aspire.ssl.overwriteFactoryfalse(Optional) Configure if the created key managers should overwrite the Java connection factory
com.accenture.aspire.ssl.truststore.filenull(Optional) The path of the trust store file
com.accenture.aspire.ssl.truststore.passwordnull(Optional) The trust store file password
com.accenture.aspire.ssl.truststore.typejks(Optional) The file format of the trust store file
com.accenture.aspire.ssl.keystore.filenull(Optional) The path of the key store file
com.accenture.aspire.ssl.keystore.passwordnull(Optional) The key store file password
com.accenture.aspire.ssl.keystore.typejks(Optional) The file format of the key store file

Security and encryption


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

ParameterDefaultDescription
aspire.ldap.bind.dn.passwordfalse(Required) The password of the User DN. Not required if the authentication is anonymous 
aspire.encryption.key.filefalse(Optional) The file path (including file name) where master key is located, if not provided a in memory hardcoded key will be used, for production installations it must be always provided.

Worker Node


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

ParameterDefaultDescription
com.accenture.aspire.node.worker.maxMemQueueSize1000(Required) The maximum number of items to keep in the in memory queue
com.accenture.aspire.node.worker.queueSizeThreshold0.75(Required) The capacity threshold of the in memory queue before requesting more items to the managers
com.accenture.aspire.node.worker.cleanUpWaitTime300000(Required) The wait time in ms for the thread that checks the connectors clean up threshold
com.accenture.aspire.node.worker.cleanUpThreshold3600000(Required) The time in ms for a connector to be idle before being removed from memory
com.accenture.aspire.node.worker.maxEnqueueRetries5(Required) The number of retries to enqueue a item into the framework pipeline
com.accenture.aspire.node.worker.workflow.appCleanUpWaitTime60000(Required) The wait time in ms for the thread that checks the workflow applications clean up threshold
com.accenture.aspire.node.worker.workflow.appCleanUpThreshold3600000(Required) The time in ms for a workflow application to be idle before being removed from memory
com.accenture.aspire.node.worker.tags
(Optional) The tags of the worker node. These tags will determine which items this node can process
com.accenture.aspire.node.worker.entryProcessorBaseSleep200(Required) The base sleep time in ms for the thread in charge of enqueueing received items into the connector framework pipelines
com.accenture.aspire.node.worker.entryProcessorMaxSleep10000(Required) The maximum sleep in ms for the thread in charge of enqueueing received items into the connector framework pipelines
com.accenture.aspire.node.worker.entryProcessorMaxIterations5(Required) The number of iterations without enqueueing items before in increasing the sleep time
com.accenture.aspire.node.worker.entryProcessorMultiplier2(Required) The multiplier used to increase the sleep time after the specified iterations without enqueueing items
com.accenture.aspire.node.worker.batchLoaderBaseSleep200(Required) The base sleep time in ms for the thread in charge of requesting batches to the manager nodes
com.accenture.aspire.node.worker.batchLoaderMaxSleep10000(Required) The maximum sleep in ms for the thread in charge of requesting batches to the manager nodes
com.accenture.aspire.node.worker.batchLoaderMaxIterations5(Required) The number of iterations without receiving batches from the managers nodes before in increasing the sleep time
com.accenture.aspire.node.worker.batchLoaderMultiplier2(Required) The multiplier used to increase the sleep time after the specified iterations without receiving batches from the managers nodes
com.accenture.aspire.node.worker.connectionTimeout20000(Required) The connection timeout for requests to other aspire nodes
com.accenture.aspire.node.worker.socketTimeout20000(Required) The socket timeout for requests to other aspire nodes
com.accenture.aspire.node.worker.maxRetries3(Required) The number of retries for requests to other aspire nodes
com.accenture.aspire.node.worker.proxyHostnull(Optional) The proxy host to use for requests to other aspire nodes
com.accenture.aspire.node.worker.proxyPort0(Optional) The proxy port to use for requests to other aspire nodes. Must be provided if the proxyHost is configured
com.accenture.aspire.node.worker.proxyUsernull(Optional) The proxy user to use for requests to other aspire nodes
com.accenture.aspire.node.worker.proxyPasswordnull(Optional) The proxy password to use for requests to other aspire nodes.
com.accenture.aspire.node.worker.pingFrequency15000(Required) The 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.nodeFailureTimeout30000(Required) The 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. 

ParameterDefaultDescription
com.accenture.aspire.node.manager.scanBatchCreatorBaseSleep200(Required) The base sleep time in ms for the thread in charge of creating batches from the scan queue
com.accenture.aspire.node.manager.scanBatchCreatorMaxSleep10000(Required) The maximum sleep in ms for the thread in charge of creating batches from the scan queue
com.accenture.aspire.node.manager.scanBatchCreatorMaxIterations10(Required) The number of iterations without creating new scan batches before in increasing the sleep time
com.accenture.aspire.node.manager.scanBatchCreatorMultiplier2(Required) The multiplier used to increase the sleep time after the specified iterations without creating new scan batches
com.accenture.aspire.node.manager.processBatchCreatorBaseSleep200(Required) The base sleep time in ms for the thread in charge of creating batches from the process queue
com.accenture.aspire.node.manager.processBatchCreatorMaxSleep10000(Required) The maximum sleep in ms for the thread in charge of creating batches from the process queue
com.accenture.aspire.node.manager.processBatchCreatorMaxIterations10(Required) The number of iterations without creating new process batches before in increasing the sleep time
com.accenture.aspire.node.manager.processBatchCreatorMultiplier2(Required) The multiplier used to increase the sleep time after the specified iterations without creating new process batches 
com.accenture.aspire.node.manager.crawlProgressManagerBaseSleep200(Required) The base sleep time in ms for the thread in charge of monitoring active crawls
com.accenture.aspire.node.manager.schedulerBaseSleep10000(Required) The base sleep time in ms for the thread in charge of executing seeds based on the configured schedules
com.accenture.aspire.node.manager.maxBatches1000(Required) The maximum number of batches the manager will keep in memory
com.accenture.aspire.node.manager.maxBatchItems100(Required) The maximum number of documents per batch
com.accenture.aspire.node.manager.connectionTimeout20000(Required) The connection timeout for requests to other aspire nodes
com.accenture.aspire.node.manager.socketTimeout20000(Required) The socket timeout for requests to other aspire nodes
com.accenture.aspire.node.manager.maxRetries3(Required) The number of retries for requests to other aspire nodes
com.accenture.aspire.node.manager.proxyHostnull(Optional) The proxy host to use for requests to other aspire nodes
com.accenture.aspire.node.manager.proxyPort0(Optional) The proxy port to use for requests to other aspire nodes. Must be provided if the proxyHost is configured
com.accenture.aspire.node.manager.proxyUsernull(Optional) The proxy user to use for requests to other aspire nodes
com.accenture.aspire.node.manager.proxyPasswordnull(Optional) The proxy password to use for requests to other aspire nodes.
com.accenture.aspire.node.manager.pingFrequency15000(Required) The 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.nodeFailureTimeout30000(Required) The 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.inProgressJobTimeout3600000(Optional) The maximum time in ms a job can be in "in-progress" status before being released. Default is 1 hour
com.accenture.aspire.node.manager.inProgressJobTimeoutCheckFrequency1800000(Optional) How frequently to verify for timed-out "in-progress" jobs
  • No labels