Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zlt2000
microservices-platform
提交
fdc83f10
microservices-platform
项目概览
zlt2000
/
microservices-platform
10 个月 前同步成功
通知
16
Star
4
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
microservices-platform
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
fdc83f10
编写于
5月 23, 2021
作者:
zlt2000
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
升级zlt-register/nacos到2.0.1
上级
26770b79
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
37 addition
and
35 deletion
+37
-35
zlt-register/nacos/conf/application.properties
zlt-register/nacos/conf/application.properties
+37
-35
zlt-register/nacos/target/nacos-server.jar
zlt-register/nacos/target/nacos-server.jar
+0
-0
未找到文件。
zlt-register/nacos/conf/application.properties
浏览文件 @
fdc83f10
...
...
@@ -18,7 +18,6 @@
### Default web context path:
server.servlet.contextPath
=
/nacos
### Default web server port:
server.port
=
8848
#*************** Network Related Configurations ***************#
### If prefer hostname over ip for Nacos server addresses in cluster.conf:
...
...
@@ -40,20 +39,14 @@ server.port=8848
# db.user.0=nacos
# db.password.0=nacos
### Connection pool configuration: hikariCP
db.pool.config.connectionTimeout
=
30000
db.pool.config.validationTimeout
=
10000
db.pool.config.maximumPoolSize
=
20
db.pool.config.minimumIdle
=
2
#*************** Naming Module Related Configurations ***************#
### Data dispatch task execution period in milliseconds:
### Data dispatch task execution period in milliseconds:
Will removed on v2.1.X, replace with nacos.core.protocol.distro.data.sync.delayMs
# nacos.naming.distro.taskDispatchPeriod=200
### Data count of batch sync task:
### Data count of batch sync task:
Will removed on v2.1.X. Deprecated
# nacos.naming.distro.batchSyncKeyCount=1000
### Retry delay in milliseconds if sync task failed:
### Retry delay in milliseconds if sync task failed:
Will removed on v2.1.X, replace with nacos.core.protocol.distro.data.sync.retryDelayMs
# nacos.naming.distro.syncRetryDelay=5000
### If enable data warmup. If set to false, the server would accept request without local data preparation:
...
...
@@ -66,18 +59,6 @@ nacos.naming.empty-service.auto-clean=true
nacos.naming.empty-service.clean.initial-delay-ms
=
50000
nacos.naming.empty-service.clean.period-time-ms
=
30000
### Add in 2.0.0
### The interval to clean empty service
# nacos.naming.clean.empty-service.interval=60000
### The expired time to clean empty service
# nacos.naming.clean.empty-service.expired-time=60000
### The interval to clean expired metadata
# nacos.naming.clean.expired-metadata.interval=5000
### The expired time to clean metadata
# nacos.naming.clean.expired-metadata.expired-time=60000
#*************** CMDB Module Related Configurations ***************#
### The interval to dump external CMDB in seconds:
...
...
@@ -95,7 +76,7 @@ nacos.naming.empty-service.clean.period-time-ms=30000
#*************** Metrics Related Configurations ***************#
### Metrics for prometheus
#
management.endpoints.web.exposure.include=*
management.endpoints.web.exposure.include
=
*
### Metrics for elastic search
management.metrics.export.elastic.enabled
=
false
...
...
@@ -109,7 +90,6 @@ management.metrics.export.influx.enabled=false
#management.metrics.export.influx.consistency=one
#management.metrics.export.influx.compressed=true
#*************** Access Log Related Configurations ***************#
### If turn on the access log:
server.tomcat.accesslog.enabled
=
true
...
...
@@ -119,8 +99,11 @@ server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D %{User-Agent}i %{Reque
### The directory of access log:
server.tomcat.basedir
=
#spring.datasource.platform=mysql
#db.num=1
#db.url.0=jdbc:mysql://10.101.167.27:3306/acm?characterEncoding=utf8&connectTimeout=1000&socketTimeout=10000&autoReconnect=true
#db.user=root
#db.password=root
#*************** Access Control Related Configurations ***************#
### If enable spring security, this option is deprecated in 1.2.0:
#spring.security.enabled=false
...
...
@@ -128,12 +111,16 @@ server.tomcat.basedir=
### The ignore urls of auth, is deprecated in 1.2.0:
nacos.security.ignore.urls
=
/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-ui/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**
### The auth system to use, currently only 'nacos' is supported:
### The auth system to use, currently only 'nacos'
and 'ldap'
is supported:
nacos.core.auth.system.type
=
nacos
### If turn on auth system:
nacos.core.auth.enabled
=
false
### worked when nacos.core.auth.system.type=ldap,{0} is Placeholder,replace login username
# nacos.core.auth.ldap.url=ldap://localhost:389
# nacos.core.auth.ldap.userdn=cn={0},ou=user,dc=company,dc=com
### The token expiration in seconds:
nacos.core.auth.default.token.expire.seconds
=
18000
...
...
@@ -144,22 +131,17 @@ nacos.core.auth.default.token.secret.key=SecretKey012345678901234567890123456789
nacos.core.auth.caching.enabled
=
true
### Since 1.4.1, Turn on/off white auth for user-agent: nacos-server, only for upgrade from old version.
nacos.core.auth.enable.userAgentAuthWhite
=
tru
e
nacos.core.auth.enable.userAgentAuthWhite
=
fals
e
### Since 1.4.1, worked when nacos.core.auth.enabled=true and nacos.core.auth.enable.userAgentAuthWhite=false.
### The two properties is the white list for auth and used by identity the request from other server.
nacos.core.auth.server.identity.key
=
nacos.core.auth.server.identity.value
=
nacos.core.auth.server.identity.key
=
serverIdentity
nacos.core.auth.server.identity.value
=
security
#*************** Istio Related Configurations ***************#
### If turn on the MCP server:
nacos.istio.mcp.server.enabled
=
false
###*************** Add from 1.3.0 ***************###
#*************** Core Related Configurations ***************#
### set the WorkerID manually
...
...
@@ -199,3 +181,23 @@ nacos.istio.mcp.server.enabled=false
# nacos.core.protocol.raft.data.read_index_type=ReadOnlySafe
### rpc request timeout, default 5 seconds
# nacos.core.protocol.raft.data.rpc_request_timeout_ms=5000
#*************** Distro Related Configurations ***************#
### Distro data sync delay time, when sync task delayed, task will be merged for same data key. Default 1 second.
# nacos.core.protocol.distro.data.sync.delayMs=1000
### Distro data sync timeout for one sync data, default 3 seconds.
# nacos.core.protocol.distro.data.sync.timeoutMs=3000
### Distro data sync retry delay time when sync data failed or timeout, same behavior with delayMs, default 3 seconds.
# nacos.core.protocol.distro.data.sync.retryDelayMs=3000
### Distro data verify interval time, verify synced data whether expired for a interval. Default 5 seconds.
# nacos.core.protocol.distro.data.verify.intervalMs=5000
### Distro data verify timeout for one verify, default 3 seconds.
# nacos.core.protocol.distro.data.verify.timeoutMs=3000
### Distro data load retry delay when load snapshot data failed, default 30 seconds.
# nacos.core.protocol.distro.data.load.retryDelayMs=30000
zlt-register/nacos/target/nacos-server.jar
浏览文件 @
fdc83f10
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录