You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.yml 1.5 kB

5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. host: "127.0.0.1"
  2. port: "8091"
  3. max_rollback_retry_timeout: -1
  4. max_commit_retry_timeout: -1
  5. timeout_retry_period: "1s"
  6. rolling_back_retry_period: "1s"
  7. committing_retry_period: "1s"
  8. async_committing_retry_period: "10s"
  9. log_delete_period: "24h"
  10. getty_config:
  11. session_timeout : "20s"
  12. getty_session_param:
  13. compress_encoding : false
  14. tcp_no_delay : true
  15. tcp_keep_alive : true
  16. keep_alive_period : "120s"
  17. tcp_r_buf_size : 262144
  18. tcp_w_buf_size : 524288
  19. pkg_rq_size : 1024
  20. pkg_wq_size : 512
  21. tcp_read_timeout : "1s"
  22. tcp_write_timeout : "5s"
  23. wait_timeout : "1s"
  24. max_msg_len : 4096
  25. session_name : "seata-server"
  26. store_config:
  27. max_global_session_size: 512
  28. max_branch_session_size: 16384
  29. mode: db
  30. db:
  31. log_query_limit: 100
  32. # 数据库seata创建脚本位于 `/scripts/server/db/` 下
  33. dsn: "root:root@tcp(127.0.0.1:3306)/seata?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8mb4,utf8"
  34. registry_config:
  35. type: nacos
  36. nacos:
  37. application: seata-server
  38. server_addr: 127.0.0.1:8848
  39. group: SEATA_GROUP
  40. namespace:
  41. cluster: default
  42. username:
  43. password:
  44. config_center:
  45. type: nacos
  46. nacos: #data_id 默认seata,group默认SEATA_GROUP获取nacos数据id为seata,分组为SEATA_GROUP下面的配置信息,配置信息统一放在一起
  47. server_addr: 127.0.0.1:8848
  48. group: SEATA_GROUP
  49. cluster: default
  50. data_id: seata_server