操作系统: mac os 开发环境: Idea 2020.3 JDK version: 1.8
https://gitee.com/netflix/conductor.git
1 . 修改build.gradle
2. 将下载资源库的位置设置为阿里云镜像,否则会编译失败,找不到jar之类的错误
# 修改buildscript 配置 buildscript { repositories { mavenCentral() maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } } ... } #修改allprojects 配置,并且注释 exclusiveContent allprojects { apply plugin: 'idea' apply plugin: 'jacoco' apply plugin: 'eclipse' repositories { mavenCentral() // oss-candidate for -rc.* verions: maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } /** * This repository locates artifacts that don't exist in maven central but we had to backup from jcenter * The exclusiveContent */ /* exclusiveContent { forRepository { maven { url "https://artifactory-oss.prod.netflix.net/artifactory/required-jcenter-modules-backup" } } filter { includeGroupByRegex "com\\.github\\.vmg.*" } }*/ } }
#执行命令,忽略单元测试类 ./gradlew build -x test #如果是windows 环境应该直接使用(windows环境尚未验证) gradlew.bat build -x test
java -jar conductor-server-2.32.0-SNAPSHOT-all.jar
http://localhost:8080/
参考资料
https://netflix.github.io/conductor/architecture/
接下来会持续一段时间做Netflix conductor更深一步的研究,希望有兴趣的同学们一起交流