conf-agent 从 api-server 获取最新的配置并触发bfe热加载。
详见实现原理
- 官网:https://www.bfe-networks.net
- 书籍:《深入理解BFE》 :介绍网络接入的相关技术原理,说明BFE的设计**,以及如何基于BFE搭建现代化的网络接入平台。现已开放全文阅读。
Configuration agent for BFE control plane
License: Apache License 2.0
conf-agent 从 api-server 获取最新的配置并触发bfe热加载。
详见实现原理
您好!
我这边在使用 conf-agent 的时候,在配置 conf-agent.toml 中的 BFECluster = "{BFECluster}"
值后,在启动 conf-agent 之后会得到如下错误:
topic[probe] err[url: http://127.0.0.1:8183/inner-api/v1/configs/gslb_data/gslb?bfe_cluster=doll_cluster&version=00000000000000, err: bad StatuCode: 422, Raw: {"ErrNum":422,"ErrMsg":"Param Illegal: BFECluster doll_cluster Not Exist","Data":null}]
其中的 doll_cluster
是我替换的 BFECluster 值。
这边我也查看了对应的文档:https://github.com/bfenetworks/conf-agent/blob/develop/docs/zh_cn/config.md 这里面提到的 当前所在的BFE集群名
具体是什么 意思呀?这个值应该是固定不变的吧?
感谢解答一下!
[2021/12/01 12:24:11 CST] [INFO] [github.com/baidu/conf-agent/conf_reload.(*Reloader).reload:78] [1638332651162671242_990] module[server_data_conf] topic[reload begin]
[2021/12/01 12:24:11 CST] [EROR] [github.com/baidu/conf-agent/conf_reload.(*Reloader).reload:83] [1638332651162671242_990] module[server_data_conf] topic[probe] err[url: http://127.0.0.1:8183/inner-api/v1/configs/tls_conf/server_data_conf?bfe_cluster=%!B(MISSING)BFECluster%!D(MISSING)&version=00000000000000, err: bad StatuCode: 422, Raw: {"ErrNum":422,"ErrMsg":"Param Illegal: Bad Format Header Authorization"}]
[2023/07/31 16:09:47 CST] [EROR] [github.com/baidu/conf-agent/conf_reload/trigger.(*Trigger).TriggerBFEReload:70] [1690790987968204926_578] module[ tls_conf] topic[reload_bfe] err[reload fail, rsp: {"error":"in ServerCertConfLoad() :BfeServerCertConf.Config default certificate not exit"}]
[2023/07/31 16:09:47 CST] [EROR] [github.com/baidu/conf-agent/conf_reload.(*Reloader).reload:114] [1690790987968204926_578] module[ tls_conf] topic[TriggerBFEReload fail] err[reload fail, rsp: {"error":"in ServerCertConfLoad() :BfeServerCertConf.Config default certificate not exit"}]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.