apache/incubator-seata

confused about the documentation [important]

Open

#5,608 创建于 2023年5月25日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Java (25,960 star) (8,878 fork)batch import
good first issuetask: help-wanted

描述

I think there do not have a clear describe regard to seata component and their respective configration. Yea, you guys wrote a documentation but it just describe every option's mean. Yea, you guys impletment various of config and registy center but it's not clearly about their's usage. But I do not recomment wrote a documentaion all in one.

Let's have a look about what happen Fristly I download a seata server package and found there have 2 files about the configruation. One is conf/application.yaml which one I think is a configuration for seata sever seems like our springcloud's application.yml. One is script/config-center/config.txt which one is refer to seata offical documentation

question 1: 参数同步到配置中心使用demo I did it. CleanShot 2023-05-25 at 10 32 08 And then It looks strange. My first impression of this is something maybe really wrong. but ,I don't know. question 2: There do not have a documentation about application.yaml Just have a example file . seata.config.nacos.data-id for what? Does this prove someting about question one ,I don't know.

seata:
  config:
    # support: nacos 、 consul 、 apollo 、 zk  、 etcd3
    type: file
    nacos:
      server-addr: 127.0.0.1:8848
      namespace:
      group: SEATA_GROUP
      username:
      password:
      context-path:
      ##if use MSE Nacos with auth, mutex with username/password attribute
      #access-key: ""
      #secret-key: ""
      data-id: seataServer.properties

I'm still confused about where this configuration should be placed,and when they will be loaded and use.

贡献者指南