es7-persistence/README.md
This module provides ES7 persistence when indexing workflows and tasks.
If you need Elasticsearch 8.x, use the es8-persistence module instead.
From ES6 to ES7 there were significant breaking changes which affected ES7-persistence module implementation.
More information can be found here: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html
https://github.com/conductor-oss/conductor/blob/main/build.gradle https://github.com/conductor-oss/conductor/blob/main/server/src/main/resources/application.properties
In file:
change ext['elasticsearch.version'] from revElasticSearch6 to revElasticSearch7
In file:
change conductor.elasticsearch.version from 6 to 7
Also you need to recreate dependencies.lock files with ES7 dependencies. To do that delete all dependencies.lock files and then run:
./gradlew generateLock updateLock saveLock
https://github.com/conductor-oss/conductor/blob/main/test-harness/build.gradle https://github.com/conductor-oss/conductor/blob/main/test-harness/src/test/java/com/netflix/conductor/test/integration/AbstractEndToEndTest.java
In file:
In file:
(Default values shown below)
This module uses the following configuration options:
# A comma separated list of schema/host/port of the ES nodes to communicate with.
# Schema can be `http` or `https`. If schema is ignored then `http` transport will be used;
# Since ES deprecated TransportClient, conductor will use only the REST transport protocol.
conductor.elasticsearch.url=
#The name of the workflow and task index.
conductor.elasticsearch.indexPrefix=conductor
#Worker Queue size used in executor service for async methods in IndexDao.
conductor.elasticsearch.asyncWorkerQueueSize=100
#Maximum thread pool size in executor service for async methods in IndexDao
conductor.elasticsearch.asyncMaxPoolSize=12
#Timeout (in seconds) for the in-memory to be flushed if not explicitly indexed
conductor.elasticsearch.asyncBufferFlushTimeout=10
If you need to pass user/password to connect to ES, add the following properties to your config file
Example
conductor.elasticsearch.username=someusername
conductor.elasticsearch.password=somepassword