Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

急需yaml配置文件的说明文档 #2

Open
a5272689 opened this issue Nov 2, 2017 · 3 comments
Open

急需yaml配置文件的说明文档 #2

a5272689 opened this issue Nov 2, 2017 · 3 comments

Comments

@a5272689
Copy link

a5272689 commented Nov 2, 2017

急需yaml配置文件的说明文档

@idevz
Copy link
Member

idevz commented Nov 2, 2017

@a5272689 正在整理中 感谢关注

@rayzhang0603
Copy link
Contributor

rayzhang0603 commented Nov 2, 2017

motan-go的配置项含义与motan java版本一致,但是目前还不支持那么全面。可以先参考java版本的配置项含义说明

目前可以使用的配置项可以参考main目录下的cliendemo.yaml, serverdemo.yaml,agentdemo.yaml几个文件,其中motan-registry、motan-basicService、motan-service、motan-basicRefer、motan-refer中的配置项含义与java版本一致。
agent需要单独配置项在yaml文件的motan-agent这个section下,说明参照几个demo的yaml
port: 9981 # agent对外提供服务的端口.
mport: 8002 # agent 管理端口,后续会在此端口提供丰富的管理功能
log_dir: "./agentlogs" # 日志打印目录
registry: "zk-registry" # 注册agent自身信息时使用的注册中心id,与motan-registry中配置的id相对应
application: "ray-test" # agent标识,一般表示哪个业务方的agent,后续会提供按agent业务进行管理的一些功能

其他的请等完整文档吧 :)

@rayzhang0603
Copy link
Contributor

@a5272689 中文文档已经整理完,欢迎反馈建议 https://github.com/weibocom/motan-go/wiki/zh_overview

idevz pushed a commit that referenced this issue Dec 20, 2017
add a field named x-forwarded-for to http request headers
rayzhang0603 pushed a commit that referenced this issue Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants