mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
全面使用nacos,舍弃zookeeper
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
package com.gitee.sop.websiteserver.bean;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
*/
|
||||
public class WebsiteConstants {
|
||||
/**
|
||||
* zookeeper存放接口路由信息的根目录
|
||||
*/
|
||||
public static final String SOP_SERVICE_ROUTE_PATH = "/com.gitee.sop.route";
|
||||
|
||||
/**
|
||||
* 服务临时节点
|
||||
*/
|
||||
public static final String SOP_SERVICE_TEMP_PATH = "/com.gitee.sop.service.tmp";
|
||||
}
|
@@ -2,11 +2,8 @@ server.port=8083
|
||||
spring.application.name=website-server
|
||||
|
||||
# ------- 需要改的配置 -------
|
||||
# zookeeper地址
|
||||
zookeeper.url=localhost:2181
|
||||
# nacos地址
|
||||
nacos.url=127.0.0.1:8848
|
||||
|
||||
# ------- 需要改的配置end -------
|
||||
|
||||
# nacos cloud配置
|
||||
|
Reference in New Issue
Block a user