Browse Source

feat: 小幅度架构调整

master
wangxiang 2 years ago
parent
commit
35b77fe6e6
  1. 35
      doc/dolphin-cloud-service.txt
  2. 31
      doc/kicc-微服务.txt
  3. 51
      doc/nacos/dolphin-dev/.metadata.yml
  4. 131
      doc/nacos/dolphin-dev/DEFAULT_GROUP/application.yml
  5. 24
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-auth.yml
  6. 19
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-common-biz
  7. 64
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-gateway.yml
  8. 10
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-monitor-biz
  9. 6
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-monitor.yml
  10. 55
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-rocketmq-dashboard
  11. 37
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-sentinel-dashboard.yml
  12. 38
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-system-biz.yml
  13. 58
      doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-xxl-job-admin.yml
  14. 51
      doc/nacos/dolphin-prod/.metadata.yml
  15. 133
      doc/nacos/dolphin-prod/DEFAULT_GROUP/application.yml
  16. 22
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-auth.yml
  17. 8
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-common-biz
  18. 56
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-gateway.yml
  19. 8
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-monitor-biz
  20. 6
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-monitor.yml
  21. 55
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-rocketmq-dashboard
  22. 37
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-sentinel-dashboard.yml
  23. 36
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-system-biz.yml
  24. 58
      doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-xxl-job-admin.yml
  25. 406
      doc/nacos/dolphin-seata/.metadata.yml
  26. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.asyncCommitBufferLimit
  27. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.lock.retryInterval
  28. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.lock.retryPolicyBranchRollbackOnConflict
  29. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.lock.retryTimes
  30. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.reportRetryCount
  31. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.reportSuccessEnable
  32. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.sagaBranchRegisterEnable
  33. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.sagaJsonParser
  34. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.sqlParserType
  35. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.tableMetaCheckEnable
  36. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.tableMetaCheckerInterval
  37. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.tccActionInterceptorOrder
  38. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.commitRetryCount
  39. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.defaultGlobalTransactionTimeout
  40. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.degradeCheck
  41. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.degradeCheckAllowTimes
  42. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.degradeCheckPeriod
  43. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.interceptorOrder
  44. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.rollbackRetryCount
  45. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.compress.enable
  46. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.compress.threshold
  47. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.compress.type
  48. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.dataValidation
  49. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.logSerialization
  50. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.logTable
  51. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.onlyCareUpdateColumns
  52. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/log.exceptionRate
  53. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/metrics.enabled
  54. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/metrics.exporterList
  55. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/metrics.exporterPrometheusPort
  56. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/metrics.registryType
  57. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.distributedLockExpireTime
  58. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.maxCommitRetryTimeout
  59. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.maxRollbackRetryTimeout
  60. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.asynCommittingRetryPeriod
  61. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.committingRetryPeriod
  62. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.rollbackingRetryPeriod
  63. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.timeoutRetryPeriod
  64. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.rollbackRetryTimeoutUnlockEnable
  65. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.session.branchAsyncQueueSize
  66. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.session.enableBranchAsyncRemove
  67. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.undo.logDeletePeriod
  68. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/server.undo.logSaveDays
  69. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/service.default.grouplist
  70. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/service.disableGlobalTransaction
  71. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/service.enableDegrade
  72. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/service.vgroupMapping.default_tx_group
  73. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.branchTable
  74. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.datasource
  75. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.dbType
  76. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.distributedLockTable
  77. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.driverClassName
  78. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.globalTable
  79. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.lockTable
  80. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.maxConn
  81. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.maxWait
  82. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.minConn
  83. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.password
  84. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.queryLimit
  85. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.url
  86. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.db.user
  87. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.file.dir
  88. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.file.fileWriteBufferCacheSize
  89. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.file.flushDiskMode
  90. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.file.maxBranchSessionSize
  91. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.file.maxGlobalSessionSize
  92. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.file.sessionReloadReadSize
  93. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.lock.mode
  94. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.mode
  95. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.database
  96. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.maxConn
  97. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.maxTotal
  98. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.minConn
  99. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.mode
  100. 1
      doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.queryLimit
  101. Some files were not shown because too many files have changed in this diff Show More

35
doc/dolphin-cloud-service.txt

@ -0,0 +1,35 @@
注意所有打包部署全部写了docker-compose一键部署,需要了解更多信息,请参考dolphin项目中docker-cloud文件夹
宿主机文件统一映射路径:/usr/software/dockerDatabase/**
--------海豚微服务生态平台端口目录(包含工具)--------
8051:prtainer-ce -> docker可视化面板
8052:mysql -> 关系数据库
6379:redis -> 非关系型数据库
8066:gitea-https -> 代码私有仓库https
8065:gitea-ssh -> 代码私有仓库ssh
9300:jira -> 项目生命周期管理
9876:rocketmq:namesrv -> 代理发现注册服务,跟nacos类似
10909:rocketmq:broker -> 远程发送消息接口
10911:rocketmq:broker -> 远程快速发送消息接口
8091:seata-server -> 分布式事务TC服务
9301:upsource-server -> idea代码审查服务
8848:dolphin-register -> nacos服务连接
9848:dolphin-register -> 客户端向服务端发起连接和请求
9849:dolphin-register -> 用于服务间同步等
9999:dolphin-gateway -> spring网关服务
3000:dolphin-auth -> 安全认证服务
4000:dolphin-system -> 系统模块服务
8000:dolphin-common -> 通用业务模块服务
6000:dolphin-monitor -> 运维监控模块服务
8058:dolphin-visual-rocketmq -> rocketmq可视化监控平台
8056:sentinel-visual-dashboard -> 哨兵流量控制可视化平台
8057:dolphin-visual-job -> xxl-job可视化监控平台
8061:dolphin-visual-spring -> SpringBoot可视化监控平台
80:dolphin-admin -> vue3前端生态平台
8062:docker -> docker服务
40003:demo-dolphin-message-consumer -> rocketmq消息中间件演示-mq消息消费者
40002:demo-dolphin-message-producer -> rocketmq消息中间件演示-mq消息提供者
60001:demo-dolphin-seata-order -> 分布式解决方案演示-订单服务
60002:demo-dolphin-seata-point -> 分布式解决方案演示-积分服务
60003:demo-dolphin-seata-user -> 分布式解决方案演示-用户服务

31
doc/kicc-微服务.txt

@ -1,31 +0,0 @@
注意所以打包部署全部写了docker-compose一键部署,需要了解更多信息,请参考kicc项目中docker-cloud文件夹
宿主机文件统一映射路径:/usr/software/dockerDatabase/**
微服务端口:------------------------------------------
8051:prtainer-ce
8052:mysql
8053:redis
9876:rocketmq:namesrv
10909:rocketmq:broker:远程发送消息接口
10911:rocketmq:broker:远程快速发送消息接口
8091:seata-server
8848:kicc-register:连接端口
9848:kicc-register:客户端向服务端发起连接和请求
9849:kicc-register:用于服务间同步等
8058:kicc-rocketmq
8056:kicc-sentinel
8057:kicc-job-admin
8061:kicc-monitor
9999:kicc-gateway
3000:kicc-auth
4000:kicc-system
80:kicc-ui
40003:demo-kicc-message-consumer
40002:demo-kicc-message-producer
60001:demo-kicc-seata-order
60002:demo-kicc-seata-point
60003:demo-kicc-seata-user
8062:docker
8065:gitea ssh端口服务
8066:gitea http端口服务

51
doc/nacos/dolphin-dev/.metadata.yml

@ -0,0 +1,51 @@
metadata:
- appName: ''
dataId: application.yml
desc: 通用配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-gateway.yml
desc: 网关配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-monitor.yml
desc: 监控配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-system-biz.yml
desc: 系统配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-sentinel-dashboard.yml
desc: sentinel监控
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-xxl-job-admin.yml
desc: xxl-job分布式定时器配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-rocketmq-dashboard
desc: rocketmq监控面板配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-auth.yml
desc: 认证中心配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-monitor-biz
desc: 运维监控配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-common-biz
desc: 通用业务配置
group: DEFAULT_GROUP
type: yaml

131
doc/nacos/dolphin-dev/DEFAULT_GROUP/application.yml

@ -0,0 +1,131 @@
jasypt:
# 加解密密钥
encryptor:
# 根密码
password: dolphin
# spring配置
spring:
mvc:
pathmatch:
# swagger未适配spring5新的路径匹配策略path_pattern_parser,会报错需要改回旧的策略
matching-strategy: ant_path_matcher
redis:
database: 1
host: 127.0.0.1
cloud:
sentinel:
filter:
# 关闭内部拦截,与spring cloud 2021有不兼容的问题
enabled: false
# 取消Sentinel控制台懒加载
# 默认情况下 Sentinel 会在客户端首次调用的时候进行初始化,开始向控制台发送心跳包
# 配置 sentinel.eager=true 时,取消Sentinel控制台懒加载功能
eager: true
transport:
# Sentinel控制台地址,客户端需要通信时调用
dashboard: dolphin-visual-sentinel:8056
# spring-boot-admin配置
management:
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: "*"
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
# feign配置
feign:
# 开启对sentinel的支持能提供接口调用自动熔断降级的功能
sentinel:
enabled: true
# 开启okhttp
okhttp:
enabled: true
# 关闭feign默认使用的jdk中的HttpURLConnection请求性能太低,集成别的组件来替换掉
httpclient:
enabled: false
client:
config:
default:
# 连接超时时间
connectTimeout: 10000
# 读超时时间
readTimeout: 10000
compression:
# 开启请求 GZIP 压缩,加快传输速度
request:
enabled: true
# 开启响应 GZIP 压缩,加快传输速度
response:
enabled: true
# mybatis-plus配置
mybatis-plus:
mapper-locations:
- classpath:mapper/**/*.xml
typeAliasesPackage: com.cloud.dolphin.**.entity
global-config:
# 不显示banner
banner: false
# 数据库相关配置
db-config:
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
id-type: assign_id
configuration:
call-setters-on-nulls: true
# spring security配置
security:
oauth2:
# 目前资源服务器远程校验令牌RemoteTokenServices类未实现,目前支持本地校验
resource:
# 资源服务器负载均衡调用认证服务器
loadBalanced: true
# 认证服务器检测token地址
token-info-uri: http://dolphin-auth:3000/oauth/check_token
# 通用放行URL,服务个性化,授权资源,公开资源
ignore:
urls:
- /v2/api-docs
- /actuator/**
# 防止XSS攻击
xss:
# 过滤开关
enabled: false
# 排除链接(多个用逗号分隔)
# excludes:
# 匹配链接
urlPatterns: /system/*
# swagger接口文档配置
swagger:
enabled: true
title: 海豚微服务开放平台_接口文档
description: 海豚微服务开放平台
version: 1.0.0
terms-of-service-url: https://godolphinx.org
contact:
name: wangxaing4
email: 1827945911@qq.com
authorization:
name: dolphin-oauth
# 需要开启鉴权URL的正则,默认^.*$匹配所有URL
auth-regex: ^.*$
authorization-scope-list:
- scope: server
description: server all
token-url-list:
- http://${GATEWAY_HOST:dolphin-gateway}:${GATEWAY-PORT:9999}/auth_proxy/oauth/token
# 日志配置
logging:
level:
com.cloud.dolphin: debug
org.springframework: WARN
org.spring.springboot.dao: debug

24
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-auth.yml

@ -0,0 +1,24 @@
spring:
datasource:
hikari:
max-lifetime: 120000
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
freemarker:
allow-request-override: false
allow-session-override: false
cache: true
charset: UTF-8
check-template-location: true
content-type: text/html
enabled: true
expose-request-attributes: false
expose-session-attributes: false
expose-spring-macro-helpers: true
prefer-file-system-access: true
suffix: .ftl
template-loader-path: classpath:/templates/

19
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-common-biz

@ -0,0 +1,19 @@
security:
# 目前资源服务器远程校验令牌RemoteTokenServices类未实现,目前支持本地校验,正在考虑换授权框架sa-token
oauth2:
client:
# 配置资源服务器去认证服务器token-info-uri认证所需的客户端ID跟客户端密钥
client-id: ENC(dtjFNJ20ocy3dpBwUqSbfA==)
client-secret: ENC(dtjFNJ20ocy3dpBwUqSbfA==)
scope: server
spring:
datasource:
hikari:
max-lifetime: 120000
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true

64
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-gateway.yml

@ -0,0 +1,64 @@
spring:
cloud:
gateway:
# 开启跨域,放行任何跨域请求,开发环境可以允许网关工程跨域
globalcors:
corsConfigurations:
'[/auth_proxy/**,/common_proxy/**]':
allowedOriginPatterns: "*"
allowed-methods: "*"
allowed-headers: "*"
allow-credentials: true
exposedHeaders: "Content-Disposition,Content-Type,Cache-Control"
# 自动根据服务ID建立路由
locator:
enabled: true
routes:
# 认证中心
- id: dolphin-auth
uri: lb://dolphin-auth
predicates:
- Path=/auth_proxy/**
filters:
# 验证码处理
- ValidateCodeGatewayFilter
# 前端密码解密
- PasswordDecoderFilter
# system 模块
- id: dolphin-system-biz
uri: lb://dolphin-system-biz
predicates:
- Path=/system_proxy/**
filters:
# 限流配置
- name: RequestRateLimiter
args:
# 使用SpEL表达式从Spring容器中获取Bean对象,基于什么限流配置
key-resolver: '#{@remoteAddrKeyResolver}'
# 限频的频率,每秒请求次数,设置每秒最大请求次数100
redis-rate-limiter.replenishRate: 100
# 系统按照恒定间隔向水桶里加入令牌,设置最大为200个令牌容量,如果没有令牌可拿,那么就拒绝服务。
redis-rate-limiter.burstCapacity: 200
# monitor 模块
- id: dolphin-monitor-biz
uri: lb://dolphin-monitor-biz
predicates:
- Path=/monitor_proxy/**
# common 模块
- id: dolphin-common-biz
uri: lb://dolphin-common-biz
predicates:
- Path=/common_proxy/**
gateway:
# ASE对称加密密钥
encode-key: 'dolphin-platform'
# 忽略不需要校验验证码是否合法的客户端
ignore-clients:
- test
- dolphin_lock
swagger:
# 忽略微服务提供者
ignore-providers:
- dolphin-auth

10
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-monitor-biz

@ -0,0 +1,10 @@
spring:
datasource:
hikari:
max-lifetime: 120000
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true

6
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-monitor.yml

@ -0,0 +1,6 @@
spring:
# 安全配置
security:
user:
name: ENC(dtjFNJ20ocy3dpBwUqSbfA==) # dolphin
password: ENC(dtjFNJ20ocy3dpBwUqSbfA==) # dolphin

55
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-rocketmq-dashboard

@ -0,0 +1,55 @@
# spring-boot-admin 配置
management:
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: '*'
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
# spring-boot内置logback 配置
logging:
level:
org:
springframework:
web: info
file:
# 指定日志文件的位置
name: ${user.home}/logs/rocketmq/rocketmq-dashboard.log
pattern:
# 日志文件输出内容的格式
file: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n'
rocketmq:
config:
# if this value is empty,use env value rocketmq.config.namesrvAddr NAMESRV_ADDR | now, default localhost:9876
# configure multiple namesrv addresses to manage multiple different clusters
namesrvAddrs:
- xxx.xxx.xxx.xxx:9876
# if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true
isVIPChannel:
# timeout for mqadminExt, default 5000ms
timeoutMillis:
# rocketmq-console's data path:dashboard/monitor
dataPath: /tmp/rocketmq-console/data
# set it false if you don't want use dashboard.default true
enableDashBoardCollect: true
# set the message track trace topic if you don't want use the default one
msgTrackTopicName:
ticketKey: ticket
# must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required
loginRequired: false
useTLS: false
# set the accessKey and secretKey if you used acl,外网使用需要开启ACL权限,我们是在内网玩的,不需要配置
accessKey: # if version > 4.4.0
secretKey: # if version > 4.4.0
threadpool:
config:
coreSize: 10
maxSize: 10
keepAliveTime: 3000
queueSize: 5000

37
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-sentinel-dashboard.yml

@ -0,0 +1,37 @@
# spring-boot-admin 配置
management:
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: '*'
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
# spring-boot内置logback 配置
logging:
level:
org:
springframework:
web: info
file:
# 指定日志文件的位置
name: ${user.home}/logs/csp/sentinel-dashboard.log
pattern:
# 日志文件输出内容的格式
file: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n'
# sentinel 安全配置
auth:
username: sentinel
password: sentinel
filter:
exclude-urls: /,/auth/login,/auth/logout,/registry/machine,/version,/actuator/**,/details
exclude-url-suffixes: htm,html,js,css,map,ico,ttf,woff,png
sentinel:
dashboard:
# 配置 sentinel 控制台版本号
version: 1.8.0

38
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-system-biz.yml

@ -0,0 +1,38 @@
security:
# 目前资源服务器远程校验令牌RemoteTokenServices类未实现,目前支持本地校验,正在考虑换授权框架sa-token
oauth2:
client:
# 配置资源服务器去认证服务器token-info-uri认证所需的客户端ID跟客户端密钥
client-id: ENC(dtjFNJ20ocy3dpBwUqSbfA==)
client-secret: ENC(dtjFNJ20ocy3dpBwUqSbfA==)
scope: server
# 阿里云短信
aliyun:
sms:
access-key-id: '******'
access-key-secret: '******'
sign-name: 海豚开发平台
templates:
ali-code:
templateCode: SMS_212690021
# 文件上传相关 支持阿里云、华为云、腾讯、minio
oss:
endpoint: https://oss-cn-hangzhou.aliyuncs.com
access-Key: '******'
secret-Key: '******'
region: cn-hangzhou
path-style-access: false
bucket-name: '******'
spring:
datasource:
hikari:
max-lifetime: 120000
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true

58
doc/nacos/dolphin-dev/DEFAULT_GROUP/dolphin-xxl-job-admin.yml

@ -0,0 +1,58 @@
# spring-boot-admin配置
management:
health:
# 关闭邮件健康检查
mail:
enabled: false
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: '*'
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
xxl:
job:
i18n: zh_CN
# 日志保留天数
logretentiondays: 30
# 调度线程池最大线程配置
triggerpool:
# 配置快任务线程池最大200
fast.max: 200
# 1分钟窗口期内任务耗时达500ms超过10次,该窗口期内断定为慢任务,慢任务自动降级进入 Slow 线程池,避免耗尽调度线程,提升系统稳定性,配置最大200
slow.max: 200
mybatis:
mapper-locations: classpath:/mybatis-mapper/*Mapper.xml
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:dolphin_job}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
mvc:
static-path-pattern: /static/**
freemarker:
suffix: .ftl
request-context-attribute: request
settings:
number_format: 0.##########
# xxl-job报警邮箱
mail:
host: smtp.qq.com
port: 465
from: 1827945911@qq.com
username: 1827945911@qq.com
password: xxxx
properties:
mail:
smtp:
auth: true
ssl.enable: true
starttls.enable: false
required: false

51
doc/nacos/dolphin-prod/.metadata.yml

@ -0,0 +1,51 @@
metadata:
- appName: ''
dataId: application.yml
desc: 通用配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-gateway.yml
desc: 网关配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-monitor.yml
desc: 监控配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-system-biz.yml
desc: 系统配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-sentinel-dashboard.yml
desc: sentinel监控
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-xxl-job-admin.yml
desc: xxl-job分布式定时器配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-rocketmq-dashboard
desc: rocketmq监控面板配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-auth.yml
desc: 认证中心配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-monitor-biz
desc: 运维监控配置
group: DEFAULT_GROUP
type: yaml
- appName: ''
dataId: dolphin-common-biz
desc: 通用业务配置
group: DEFAULT_GROUP
type: yaml

133
doc/nacos/dolphin-prod/DEFAULT_GROUP/application.yml

@ -0,0 +1,133 @@
jasypt:
# 加解密密钥
encryptor:
# 根密码
password: dolphin
# spring配置
spring:
mvc:
pathmatch:
# swagger未适配spring5新的路径匹配策略path_pattern_parser,会报错需要改回旧的策略
matching-strategy: ant_path_matcher
redis:
database: 0
host: xxx.xxx.xxx.xxx
port: 6379
password: '******'
cloud:
sentinel:
filter:
# 关闭内部拦截,与spring cloud 2021有不兼容的问题
enabled: false
# 取消Sentinel控制台懒加载
# 默认情况下 Sentinel 会在客户端首次调用的时候进行初始化,开始向控制台发送心跳包
# 配置 sentinel.eager=true 时,取消Sentinel控制台懒加载功能
eager: true
transport:
# Sentinel控制台地址,客户端需要通信时调用
dashboard: dolphin-visual-sentinel:8056
# spring-boot-admin配置
management:
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: "*"
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
# feign配置
feign:
# 开启对sentinel的支持能提供接口调用自动熔断降级的功能
sentinel:
enabled: true
# 开启okhttp
okhttp:
enabled: true
# 关闭feign默认使用的jdk中的HttpURLConnection请求性能太低,集成别的组件来替换掉
httpclient:
enabled: false
client:
config:
default:
# 连接超时时间
connectTimeout: 10000
# 读超时时间
readTimeout: 10000
compression:
# 开启请求 GZIP 压缩,加快传输速度
request:
enabled: true
# 开启响应 GZIP 压缩,加快传输速度
response:
enabled: true
# mybatis-plus配置
mybatis-plus:
mapper-locations:
- classpath:mapper/**/*.xml
typeAliasesPackage: com.cloud.dolphin.**.entity
global-config:
# 不显示banner
banner: false
# 数据库相关配置
db-config:
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
id-type: assign_id
configuration:
call-setters-on-nulls: true
# spring security配置
security:
oauth2:
# 目前资源服务器远程校验令牌RemoteTokenServices类未实现,目前支持本地校验
resource:
# 资源服务器负载均衡调用认证服务器
loadBalanced: true
# 认证服务器检测token地址
token-info-uri: http://dolphin-auth:3000/oauth/check_token
# 通用放行URL,服务个性化,授权资源,公开资源
ignore:
urls:
- /v2/api-docs
- /actuator/**
# 防止XSS攻击
xss:
# 过滤开关
enabled: false
# 排除链接(多个用逗号分隔)
# excludes:
# 匹配链接
urlPatterns: /system/*
# swagger接口文档配置
swagger:
enabled: true
title: 海豚微服务开放平台_接口文档
description: 海豚微服务开放平台
version: 1.0.0
terms-of-service-url: https://godolphinx.org
contact:
name: wangxaing4
email: 1827945911@qq.com
authorization:
name: dolphin-oauth
# 需要开启鉴权URL的正则,默认^.*$匹配所有URL
auth-regex: ^.*$
authorization-scope-list:
- scope: server
description: server all
token-url-list:
- http://${GATEWAY_HOST:dolphin-gateway}:${GATEWAY-PORT:9999}/auth_proxy/oauth/token
# 日志配置
logging:
level:
com.cloud.dolphin: debug
org.springframework: WARN
org.spring.springboot.dao: debug

22
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-auth.yml

@ -0,0 +1,22 @@
spring:
datasource:
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:******}
url: jdbc:mysql://${MYSQL_HOST:xxx.xxx.xxx.xxx}:${MYSQL_PORT:8052}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
freemarker:
allow-request-override: false
allow-session-override: false
cache: true
charset: UTF-8
check-template-location: true
content-type: text/html
enabled: true
expose-request-attributes: false
expose-session-attributes: false
expose-spring-macro-helpers: true
prefer-file-system-access: true
suffix: .ftl
template-loader-path: classpath:/templates/

8
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-common-biz

@ -0,0 +1,8 @@
spring:
datasource:
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:******}
url: jdbc:mysql://${MYSQL_HOST:xxx.xxx.xxx.xxx}:${MYSQL_PORT:8052}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true

56
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-gateway.yml

@ -0,0 +1,56 @@
spring:
cloud:
gateway:
# 自动根据服务ID建立路由
locator:
enabled: true
routes:
# 认证中心
- id: dolphin-auth
uri: lb://dolphin-auth
predicates:
- Path=/auth_proxy/**
filters:
# 验证码处理
- ValidateCodeGatewayFilter
# 前端密码解密
- PasswordDecoderFilter
# system 模块
- id: dolphin-system-biz
uri: lb://dolphin-system-biz
predicates:
- Path=/system_proxy/**
filters:
# 限流配置
- name: RequestRateLimiter
args:
# 使用SpEL表达式从Spring容器中获取Bean对象,基于什么限流配置
key-resolver: '#{@remoteAddrKeyResolver}'
# 限频的频率,每秒请求次数,设置每秒最大请求次数100
redis-rate-limiter.replenishRate: 100
# 系统按照恒定间隔向水桶里加入令牌,设置最大为200个令牌容量,如果没有令牌可拿,那么就拒绝服务。
redis-rate-limiter.burstCapacity: 200
# monitor 模块
- id: dolphin-monitor-biz
uri: lb://dolphin-monitor-biz
predicates:
- Path=/monitor_proxy/**
# common 模块
- id: dolphin-common-biz
uri: lb://dolphin-common-biz
predicates:
- Path=/common_proxy/**
gateway:
# ASE对称加密密钥
encode-key: 'dolphin-platform'
# 忽略不需要校验验证码是否合法的客户端
ignore-clients:
- test
- dolphin_lock
swagger:
# 忽略微服务提供者
ignore-providers:
- dolphin-auth

8
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-monitor-biz

@ -0,0 +1,8 @@
spring:
datasource:
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:******}
url: jdbc:mysql://${MYSQL_HOST:xxx.xxx.xxx.xxx}:${MYSQL_PORT:8052}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true

6
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-monitor.yml

@ -0,0 +1,6 @@
spring:
# 安全配置
security:
user:
name: ENC(dtjFNJ20ocy3dpBwUqSbfA==) # dolphin
password: ENC(dtjFNJ20ocy3dpBwUqSbfA==) # dolphin

55
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-rocketmq-dashboard

@ -0,0 +1,55 @@
# spring-boot-admin 配置
management:
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: '*'
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
# spring-boot内置logback 配置
logging:
level:
org:
springframework:
web: info
file:
# 指定日志文件的位置
name: ${user.home}/logs/rocketmq/rocketmq-dashboard.log
pattern:
# 日志文件输出内容的格式
file: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n'
rocketmq:
config:
# if this value is empty,use env value rocketmq.config.namesrvAddr NAMESRV_ADDR | now, default localhost:9876
# configure multiple namesrv addresses to manage multiple different clusters
namesrvAddrs:
- xxx.xxx.xxx.xxx:9876
# if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true
isVIPChannel:
# timeout for mqadminExt, default 5000ms
timeoutMillis:
# rocketmq-console's data path:dashboard/monitor
dataPath: /tmp/rocketmq-console/data
# set it false if you don't want use dashboard.default true
enableDashBoardCollect: true
# set the message track trace topic if you don't want use the default one
msgTrackTopicName:
ticketKey: ticket
# must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required
loginRequired: false
useTLS: false
# set the accessKey and secretKey if you used acl,外网使用需要开启ACL权限,我们是在内网玩的,不需要配置
accessKey: # if version > 4.4.0
secretKey: # if version > 4.4.0
threadpool:
config:
coreSize: 10
maxSize: 10
keepAliveTime: 3000
queueSize: 5000

37
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-sentinel-dashboard.yml

@ -0,0 +1,37 @@
# spring-boot-admin 配置
management:
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: '*'
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
# spring-boot内置logback 配置
logging:
level:
org:
springframework:
web: info
file:
# 指定日志文件的位置
name: ${user.home}/logs/csp/sentinel-dashboard.log
pattern:
# 日志文件输出内容的格式
file: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n'
# sentinel 安全配置
auth:
username: sentinel
password: sentinel
filter:
exclude-urls: /,/auth/login,/auth/logout,/registry/machine,/version,/actuator/**,/details
exclude-url-suffixes: htm,html,js,css,map,ico,ttf,woff,png
sentinel:
dashboard:
# 配置 sentinel 控制台版本号
version: 1.8.0

36
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-system-biz.yml

@ -0,0 +1,36 @@
security:
# 目前资源服务器远程校验令牌RemoteTokenServices类未实现,目前支持本地校验,正在考虑换授权框架sa-token
oauth2:
client:
# 配置资源服务器去认证服务器token-info-uri认证所需的客户端ID跟客户端密钥
client-id: ENC(dtjFNJ20ocy3dpBwUqSbfA==)
client-secret: ENC(dtjFNJ20ocy3dpBwUqSbfA==)
scope: server
# 阿里云短信
aliyun:
sms:
access-key-id: '******'
access-key-secret: '******'
sign-name: 海豚开发平台
templates:
ali-code:
templateCode: SMS_212690021
# 文件上传相关 支持阿里云、华为云、腾讯、minio
oss:
endpoint: https://oss-cn-hangzhou.aliyuncs.com
access-Key: '******'
secret-Key: '******'
region: cn-hangzhou
path-style-access: false
bucket-name: '******'
spring:
datasource:
# 数据源采用spring-boot自带kari,轻量化
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:******}
url: jdbc:mysql://${MYSQL_HOST:xxx.xxx.xxx.xxx}:${MYSQL_PORT:8052}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true

58
doc/nacos/dolphin-prod/DEFAULT_GROUP/dolphin-xxl-job-admin.yml

@ -0,0 +1,58 @@
# spring-boot-admin配置
management:
health:
# 关闭邮件健康检查
mail:
enabled: false
endpoints:
web:
# 暴露所有监控点(监控请求url地址)配置
exposure:
include: '*'
endpoint:
health:
# 何时显示完整的健康信息,默认为NEVER都不显示,WHEN_AUTHORIZED当经过授权的用户显示,ALWAYS总是展示
show-details: ALWAYS
xxl:
job:
i18n: zh_CN
# 日志保留天数
logretentiondays: 30
# 调度线程池最大线程配置
triggerpool:
# 配置快任务线程池最大200
fast.max: 200
# 1分钟窗口期内任务耗时达500ms超过10次,该窗口期内断定为慢任务,慢任务自动降级进入 Slow 线程池,避免耗尽调度线程,提升系统稳定性,配置最大200
slow.max: 200
mybatis:
mapper-locations: classpath:/mybatis-mapper/*Mapper.xml
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${MYSQL_HOST:xxx.xxx.xxx.xxx}:${MYSQL_PORT:8052}/${MYSQL_DB:dolphin_job}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:******}
mvc:
static-path-pattern: /static/**
freemarker:
suffix: .ftl
request-context-attribute: request
settings:
number_format: 0.##########
# xxl-job报警邮箱
mail:
host: smtp.qq.com
port: 465
from: 1827945911@qq.com
username: 1827945911@qq.com
password: xxxx
properties:
mail:
smtp:
auth: true
ssl.enable: true
starttls.enable: false
required: false

406
doc/nacos/dolphin-seata/.metadata.yml

@ -0,0 +1,406 @@
metadata:
- appName: ''
dataId: transport.type
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.server
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.heartbeat
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.enableTmClientBatchSendRequest
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.enableRmClientBatchSendRequest
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.enableTcServerBatchSendResponse
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.rpcRmRequestTimeout
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.rpcTmRequestTimeout
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.rpcTcRequestTimeout
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.bossThreadPrefix
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.workerThreadPrefix
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.serverExecutorThreadPrefix
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.shareBossWorker
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.clientSelectorThreadPrefix
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.clientSelectorThreadSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.clientWorkerThreadPrefix
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.bossThreadSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.threadFactory.workerThreadSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.shutdown.wait
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.serialization
group: SEATA_GROUP
type: text
- appName: ''
dataId: transport.compressor
group: SEATA_GROUP
type: text
- appName: ''
dataId: service.vgroupMapping.default_tx_group
group: SEATA_GROUP
type: text
- appName: ''
dataId: service.default.grouplist
group: SEATA_GROUP
type: text
- appName: ''
dataId: service.enableDegrade
group: SEATA_GROUP
type: text
- appName: ''
dataId: service.disableGlobalTransaction
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.asyncCommitBufferLimit
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.lock.retryInterval
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.lock.retryTimes
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.lock.retryPolicyBranchRollbackOnConflict
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.reportRetryCount
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.tableMetaCheckEnable
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.tableMetaCheckerInterval
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.sqlParserType
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.reportSuccessEnable
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.sagaBranchRegisterEnable
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.sagaJsonParser
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.rm.tccActionInterceptorOrder
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.commitRetryCount
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.rollbackRetryCount
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.defaultGlobalTransactionTimeout
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.degradeCheck
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.degradeCheckAllowTimes
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.degradeCheckPeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.tm.interceptorOrder
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.dataValidation
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.logSerialization
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.onlyCareUpdateColumns
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.undo.logSaveDays
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.undo.logDeletePeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.logTable
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.compress.enable
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.compress.type
group: SEATA_GROUP
type: text
- appName: ''
dataId: client.undo.compress.threshold
group: SEATA_GROUP
type: text
- appName: ''
dataId: tcc.fence.logTableName
group: SEATA_GROUP
type: text
- appName: ''
dataId: tcc.fence.cleanPeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: log.exceptionRate
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.mode
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.lock.mode
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.session.mode
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.file.dir
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.file.maxBranchSessionSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.file.maxGlobalSessionSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.file.fileWriteBufferCacheSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.file.flushDiskMode
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.file.sessionReloadReadSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.datasource
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.dbType
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.driverClassName
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.url
desc: ''
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.user
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.password
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.minConn
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.maxConn
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.globalTable
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.branchTable
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.distributedLockTable
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.queryLimit
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.lockTable
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.db.maxWait
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.mode
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.single.host
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.single.port
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.maxConn
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.minConn
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.maxTotal
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.database
group: SEATA_GROUP
type: text
- appName: ''
dataId: store.redis.queryLimit
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.recovery.committingRetryPeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.recovery.asynCommittingRetryPeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.recovery.rollbackingRetryPeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.recovery.timeoutRetryPeriod
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.maxCommitRetryTimeout
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.maxRollbackRetryTimeout
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.rollbackRetryTimeoutUnlockEnable
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.distributedLockExpireTime
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.session.branchAsyncQueueSize
group: SEATA_GROUP
type: text
- appName: ''
dataId: server.session.enableBranchAsyncRemove
group: SEATA_GROUP
type: text
- appName: ''
dataId: metrics.enabled
group: SEATA_GROUP
type: text
- appName: ''
dataId: metrics.registryType
group: SEATA_GROUP
type: text
- appName: ''
dataId: metrics.exporterList
group: SEATA_GROUP
type: text
- appName: ''
dataId: metrics.exporterPrometheusPort
group: SEATA_GROUP
type: text

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.asyncCommitBufferLimit

@ -0,0 +1 @@
10000

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.lock.retryInterval

@ -0,0 +1 @@
10

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.lock.retryPolicyBranchRollbackOnConflict

@ -0,0 +1 @@
true

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.lock.retryTimes

@ -0,0 +1 @@
30

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.reportRetryCount

@ -0,0 +1 @@
5

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.reportSuccessEnable

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.sagaBranchRegisterEnable

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.sagaJsonParser

@ -0,0 +1 @@
fastjson

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.sqlParserType

@ -0,0 +1 @@
druid

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.tableMetaCheckEnable

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.tableMetaCheckerInterval

@ -0,0 +1 @@
60000

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.rm.tccActionInterceptorOrder

@ -0,0 +1 @@
-2147482648

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.commitRetryCount

@ -0,0 +1 @@
5

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.defaultGlobalTransactionTimeout

@ -0,0 +1 @@
60000

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.degradeCheck

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.degradeCheckAllowTimes

@ -0,0 +1 @@
10

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.degradeCheckPeriod

@ -0,0 +1 @@
2000

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.interceptorOrder

@ -0,0 +1 @@
-2147482648

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.tm.rollbackRetryCount

@ -0,0 +1 @@
5

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.compress.enable

@ -0,0 +1 @@
true

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.compress.threshold

@ -0,0 +1 @@
64k

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.compress.type

@ -0,0 +1 @@
zip

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.dataValidation

@ -0,0 +1 @@
true

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.logSerialization

@ -0,0 +1 @@
jackson

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.logTable

@ -0,0 +1 @@
undo_log

1
doc/nacos/dolphin-seata/SEATA_GROUP/client.undo.onlyCareUpdateColumns

@ -0,0 +1 @@
true

1
doc/nacos/dolphin-seata/SEATA_GROUP/log.exceptionRate

@ -0,0 +1 @@
100

1
doc/nacos/dolphin-seata/SEATA_GROUP/metrics.enabled

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/metrics.exporterList

@ -0,0 +1 @@
prometheus

1
doc/nacos/dolphin-seata/SEATA_GROUP/metrics.exporterPrometheusPort

@ -0,0 +1 @@
9898

1
doc/nacos/dolphin-seata/SEATA_GROUP/metrics.registryType

@ -0,0 +1 @@
compact

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.distributedLockExpireTime

@ -0,0 +1 @@
10000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.maxCommitRetryTimeout

@ -0,0 +1 @@
-1

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.maxRollbackRetryTimeout

@ -0,0 +1 @@
-1

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.asynCommittingRetryPeriod

@ -0,0 +1 @@
1000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.committingRetryPeriod

@ -0,0 +1 @@
1000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.rollbackingRetryPeriod

@ -0,0 +1 @@
1000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.recovery.timeoutRetryPeriod

@ -0,0 +1 @@
1000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.rollbackRetryTimeoutUnlockEnable

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.session.branchAsyncQueueSize

@ -0,0 +1 @@
5000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.session.enableBranchAsyncRemove

@ -0,0 +1 @@
true

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.undo.logDeletePeriod

@ -0,0 +1 @@
86400000

1
doc/nacos/dolphin-seata/SEATA_GROUP/server.undo.logSaveDays

@ -0,0 +1 @@
7

1
doc/nacos/dolphin-seata/SEATA_GROUP/service.default.grouplist

@ -0,0 +1 @@
127.0.0.1:8091

1
doc/nacos/dolphin-seata/SEATA_GROUP/service.disableGlobalTransaction

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/service.enableDegrade

@ -0,0 +1 @@
false

1
doc/nacos/dolphin-seata/SEATA_GROUP/service.vgroupMapping.default_tx_group

@ -0,0 +1 @@
default

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.branchTable

@ -0,0 +1 @@
branch_table

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.datasource

@ -0,0 +1 @@
druid

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.dbType

@ -0,0 +1 @@
mysql

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.distributedLockTable

@ -0,0 +1 @@
distributed_lock

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.driverClassName

@ -0,0 +1 @@
com.mysql.jdbc.Driver

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.globalTable

@ -0,0 +1 @@
global_table

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.lockTable

@ -0,0 +1 @@
lock_table

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.maxConn

@ -0,0 +1 @@
30

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.maxWait

@ -0,0 +1 @@
5000

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.minConn

@ -0,0 +1 @@
5

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.password

@ -0,0 +1 @@
root

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.queryLimit

@ -0,0 +1 @@
100

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.url

@ -0,0 +1 @@
jdbc:mysql://xxx.xxx.xxx.xxx:8052/dolphin_seata?useUnicode=true&rewriteBatchedStatements=true

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.db.user

@ -0,0 +1 @@
root

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.file.dir

@ -0,0 +1 @@
file_store/data

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.file.fileWriteBufferCacheSize

@ -0,0 +1 @@
16384

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.file.flushDiskMode

@ -0,0 +1 @@
async

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.file.maxBranchSessionSize

@ -0,0 +1 @@
16384

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.file.maxGlobalSessionSize

@ -0,0 +1 @@
512

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.file.sessionReloadReadSize

@ -0,0 +1 @@
100

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.lock.mode

@ -0,0 +1 @@
file

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.mode

@ -0,0 +1 @@
db

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.database

@ -0,0 +1 @@
0

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.maxConn

@ -0,0 +1 @@
10

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.maxTotal

@ -0,0 +1 @@
100

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.minConn

@ -0,0 +1 @@
1

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.mode

@ -0,0 +1 @@
single

1
doc/nacos/dolphin-seata/SEATA_GROUP/store.redis.queryLimit

@ -0,0 +1 @@
100

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save