pyapollo
pyapollo copied to clipboard
client不支持环境environment参数吗
Apollo的配置可以分environment (环境)
client = ApolloClient(appId=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>) client.start()
这个client不支持这个参数吗
我的理解是,不同的environment对应不同的config_server_url
是的,的确是这样
另外对于非默认的namespace加载,能否在每次long pulling之前获取一下最新的namespace再使用notification获取需要更新的namespace。这样用户第一次读取非默认namespace配置时就不需要阻塞了
发自网易邮箱大师 在2018年01月08日 21:01,filamoon 写道:
我的理解是,不同的environment对应不同的config_server_url
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.