enhancement #I45QAJ 支持自定义的zkNodePath

This commit is contained in:
bryan31
2021-09-23 13:35:41 +08:00
parent 33b4f7258d
commit cae1d37d4a
8 changed files with 35 additions and 28 deletions

View File

@@ -15,6 +15,9 @@ public class LiteflowProperty {
//流程定义资源地址
private String ruleSource;
//zk配置的node节点地址
private String zkNode;
//slot的数量
private int slotSize;
@@ -109,4 +112,12 @@ public class LiteflowProperty {
public void setRetryCount(int retryCount) {
this.retryCount = retryCount;
}
public String getZkNode() {
return zkNode;
}
public void setZkNode(String zkNode) {
this.zkNode = zkNode;
}
}

View File

@@ -38,6 +38,7 @@ public class LiteflowPropertyAutoConfiguration {
liteflowConfig.setEnable(property.isEnable());
liteflowConfig.setSupportMultipleType(property.isSupportMultipleType());
liteflowConfig.setRetryCount(property.getRetryCount());
liteflowConfig.setZkNode(property.getZkNode());
return liteflowConfig;
}
}