Polish cluster flow control demo: add port in Nacos address (#1655)
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
This commit is contained in:
parent
a18ef7cbfa
commit
b9b1e8a481
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue