方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 2.7 & 3.6
python setup.py install
- 实时同步配置
- 灰度配置
- 客户端容灾
- 启动客户端长连接监听
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
- 获取Apollo的配置
client.get_value(Key, DefaultValue)
- Source Code: https://github.com/filamoon/pyapollo/
- Issue Tracker: https://github.com/filamoon/pyapollo/issues
The project is licensed under the Apache 2 license.