Sfoglia il codice sorgente

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

Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
master
ZhiQiang Gu GitHub 4 anni fa
parent
commit
b9b1e8a481
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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…
Annulla
Salva