Преглед изворни кода

Polish cluster flow control demo: add port in Nacos address (#1655)

Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
master
ZhiQiang Gu GitHub пре 4 година
родитељ
комит
b9b1e8a481
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 измењених фајлова са 2 додато и 2 уклоњено
  1. +1
    -1
      sentinel-demo/sentinel-demo-cluster/sentinel-demo-cluster-embedded/src/main/java/com/alibaba/csp/sentinel/demo/cluster/init/DemoClusterInitFunc.java
  2. +1
    -1
      sentinel-demo/sentinel-demo-cluster/sentinel-demo-cluster-server-alone/src/main/java/com/alibaba/csp/sentinel/demo/cluster/init/DemoClusterServerInitFunc.java

+ 1
- 1
sentinel-demo/sentinel-demo-cluster/sentinel-demo-cluster-embedded/src/main/java/com/alibaba/csp/sentinel/demo/cluster/init/DemoClusterInitFunc.java Прегледај датотеку

@@ -49,7 +49,7 @@ public class DemoClusterInitFunc implements InitFunc {

private static final String APP_NAME = AppNameUtil.getAppName();

private final String remoteAddress = "localhost";
private final String remoteAddress = "localhost:8848";
private final String groupId = "SENTINEL_GROUP";

private final String flowDataId = APP_NAME + DemoConstants.FLOW_POSTFIX;


+ 1
- 1
sentinel-demo/sentinel-demo-cluster/sentinel-demo-cluster-server-alone/src/main/java/com/alibaba/csp/sentinel/demo/cluster/init/DemoClusterServerInitFunc.java Прегледај датотеку

@@ -36,7 +36,7 @@ import com.alibaba.fastjson.TypeReference;
*/
public class DemoClusterServerInitFunc implements InitFunc {

private final String remoteAddress = "localhost";
private final String remoteAddress = "localhost:8848";
private final String groupId = "SENTINEL_GROUP";
private final String namespaceSetDataId = "cluster-server-namespace-set";
private final String serverTransportDataId = "cluster-server-transport-config";


Loading…
Откажи
Сачувај