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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容