Netflix Conductor 使用 Elasticsearch 7 (3.8.1)

Conductor 把社区贡献的模块如 conductor-es7-persistence 迁移到了 https://github.com/Netflix/conductor-community 仓库。这个仓库与 conductor 主库发布的版本号保持一致

修改以下文件:

  • /build.gradle
    change ext['elasticsearch.version'] from revElasticSearch6 to revElasticSearch7

  • /dependencies.gradle
    增加 revElasticSearch7 = '7.6.2'

  • /server/src/main/resources/application.properties
    change conductor.elasticsearch.version from 6 to 7

  • /server/build.gradle
    删除
    implementation project(':conductor-es6-persistence')
    增加
    runtimeOnly 'com.netflix.conductor:conductor-es7-persistence:3.8.1'

  • /test-harness/build.gradle
    删除
    implementation project(':conductor-es6-persistence')
    增加
    testImplementation 'com.netflix.conductor:conductor-es7-persistence:3.8.1'

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

你可能感兴趣的:(Netflix Conductor 使用 Elasticsearch 7 (3.8.1))