-
Notifications
You must be signed in to change notification settings - Fork 701
/
Copy path9.4configdown.html
68 lines (67 loc) · 22.1 KB
/
9.4configdown.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>9.4 应用配置下发 | Jupiter</title>
<meta name="generator" content="VuePress 1.9.10">
<link rel="icon" href="/icon.png">
<script type="text/javascript">var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?c77f15742ac7b6883fb18421ee33a702";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<meta name="description" content="Governance-oriented Microservice Framework">
<meta name="keywords" content="Go,golang,jupiter,gRPC,micro service,govern,web-framework">
<link rel="preload" href="/assets/css/0.styles.323b87ba.css" as="style"><link rel="preload" href="/assets/js/app.6f262e36.js" as="script"><link rel="preload" href="/assets/js/2.1d6946eb.js" as="script"><link rel="preload" href="/assets/js/1.bef861db.js" as="script"><link rel="preload" href="/assets/js/37.8d39586c.js" as="script"><link rel="prefetch" href="/assets/js/10.e21991b4.js"><link rel="prefetch" href="/assets/js/11.961b1928.js"><link rel="prefetch" href="/assets/js/12.92f057f6.js"><link rel="prefetch" href="/assets/js/13.84f1935d.js"><link rel="prefetch" href="/assets/js/14.0dc48a2b.js"><link rel="prefetch" href="/assets/js/15.52ab161d.js"><link rel="prefetch" href="/assets/js/16.61d5f188.js"><link rel="prefetch" href="/assets/js/17.9ca0b902.js"><link rel="prefetch" href="/assets/js/18.ee3e04de.js"><link rel="prefetch" href="/assets/js/19.052cf304.js"><link rel="prefetch" href="/assets/js/20.89107d0d.js"><link rel="prefetch" href="/assets/js/21.be6bc727.js"><link rel="prefetch" href="/assets/js/22.e803e546.js"><link rel="prefetch" href="/assets/js/23.47056b00.js"><link rel="prefetch" href="/assets/js/24.a661dc65.js"><link rel="prefetch" href="/assets/js/25.73d3a4b3.js"><link rel="prefetch" href="/assets/js/26.97cf842f.js"><link rel="prefetch" href="/assets/js/27.dd594dd7.js"><link rel="prefetch" href="/assets/js/28.836255bb.js"><link rel="prefetch" href="/assets/js/29.2d936758.js"><link rel="prefetch" href="/assets/js/3.d5cdbb62.js"><link rel="prefetch" href="/assets/js/30.274960bb.js"><link rel="prefetch" href="/assets/js/31.f551dd4e.js"><link rel="prefetch" href="/assets/js/32.13d98f59.js"><link rel="prefetch" href="/assets/js/33.990019da.js"><link rel="prefetch" href="/assets/js/34.2a0a4672.js"><link rel="prefetch" href="/assets/js/35.a83a3afb.js"><link rel="prefetch" href="/assets/js/36.cae0dfdf.js"><link rel="prefetch" href="/assets/js/38.42a7668a.js"><link rel="prefetch" href="/assets/js/39.38c31bd3.js"><link rel="prefetch" href="/assets/js/4.7fa3015d.js"><link rel="prefetch" href="/assets/js/40.d05e288e.js"><link rel="prefetch" href="/assets/js/41.56f651d6.js"><link rel="prefetch" href="/assets/js/42.eb4dfc7f.js"><link rel="prefetch" href="/assets/js/43.540c4f54.js"><link rel="prefetch" href="/assets/js/44.8c153459.js"><link rel="prefetch" href="/assets/js/45.f8e1b66d.js"><link rel="prefetch" href="/assets/js/46.93953d46.js"><link rel="prefetch" href="/assets/js/47.ebe12f08.js"><link rel="prefetch" href="/assets/js/48.e9a54858.js"><link rel="prefetch" href="/assets/js/49.c784a7de.js"><link rel="prefetch" href="/assets/js/5.becff477.js"><link rel="prefetch" href="/assets/js/50.8a82a4b4.js"><link rel="prefetch" href="/assets/js/51.2fddf38d.js"><link rel="prefetch" href="/assets/js/52.9b35d829.js"><link rel="prefetch" href="/assets/js/53.357b45f4.js"><link rel="prefetch" href="/assets/js/54.d9e35691.js"><link rel="prefetch" href="/assets/js/55.8f48628b.js"><link rel="prefetch" href="/assets/js/56.92e58f28.js"><link rel="prefetch" href="/assets/js/57.9ea3d882.js"><link rel="prefetch" href="/assets/js/58.d5827bb1.js"><link rel="prefetch" href="/assets/js/59.ba33d12c.js"><link rel="prefetch" href="/assets/js/6.5f5d7619.js"><link rel="prefetch" href="/assets/js/60.8399172b.js"><link rel="prefetch" href="/assets/js/61.e72e155b.js"><link rel="prefetch" href="/assets/js/62.ef801e82.js"><link rel="prefetch" href="/assets/js/63.7e02ea7e.js"><link rel="prefetch" href="/assets/js/64.37ad6e35.js"><link rel="prefetch" href="/assets/js/65.cf905b43.js"><link rel="prefetch" href="/assets/js/66.f5263279.js"><link rel="prefetch" href="/assets/js/67.25a01055.js"><link rel="prefetch" href="/assets/js/68.85f80e65.js"><link rel="prefetch" href="/assets/js/69.68c5621b.js"><link rel="prefetch" href="/assets/js/7.b4f7cf81.js"><link rel="prefetch" href="/assets/js/70.622aa9b4.js"><link rel="prefetch" href="/assets/js/71.1358d540.js"><link rel="prefetch" href="/assets/js/72.522f2e1b.js"><link rel="prefetch" href="/assets/js/73.8ae76acc.js"><link rel="prefetch" href="/assets/js/74.a6b58d53.js"><link rel="prefetch" href="/assets/js/75.0231eeba.js"><link rel="prefetch" href="/assets/js/76.857cc39e.js"><link rel="prefetch" href="/assets/js/77.ae06c77c.js"><link rel="prefetch" href="/assets/js/78.cf4348f9.js"><link rel="prefetch" href="/assets/js/79.ebc978e4.js"><link rel="prefetch" href="/assets/js/80.c932a7b9.js"><link rel="prefetch" href="/assets/js/81.9b2e7551.js"><link rel="prefetch" href="/assets/js/82.066ee698.js"><link rel="prefetch" href="/assets/js/83.48bb5ef3.js"><link rel="prefetch" href="/assets/js/84.a520c5a6.js"><link rel="prefetch" href="/assets/js/85.0d161b0a.js"><link rel="prefetch" href="/assets/js/86.8b15d562.js"><link rel="prefetch" href="/assets/js/87.224612b9.js"><link rel="prefetch" href="/assets/js/88.a05c32f0.js"><link rel="prefetch" href="/assets/js/89.6ed9b1e4.js"><link rel="prefetch" href="/assets/js/90.b2c07f70.js"><link rel="prefetch" href="/assets/js/91.68520a94.js"><link rel="prefetch" href="/assets/js/92.58fd8b44.js"><link rel="prefetch" href="/assets/js/93.626ee210.js"><link rel="prefetch" href="/assets/js/vendors~docsearch.3894b547.js">
<link rel="stylesheet" href="/assets/css/0.styles.323b87ba.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">Jupiter</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
首页
</a></div><div class="nav-item"><a href="/jupiter/" class="nav-link">
框架
</a></div><div class="nav-item"><a href="/juno/" class="nav-link router-link-active">
管理平台
</a></div><div class="nav-item"><a href="/join/" class="nav-link">
加入我们
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="了解更多" class="dropdown-title"><span class="title">了解更多</span> <span class="arrow down"></span></button> <button type="button" aria-label="了解更多" class="mobile-dropdown-title"><span class="title">了解更多</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/douyu/jupiter" target="_blank" rel="noopener noreferrer" class="nav-link external">
微服务治理框架
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://github.com/douyu/juno" target="_blank" rel="noopener noreferrer" class="nav-link external">
微服务管理平台
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div><div class="nav-item"><a href="https://github.com/douyu/jupiter" target="_blank" rel="noopener noreferrer" class="nav-link external">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <a href="https://github.com/douyu/jupiter" target="_blank" rel="noopener noreferrer" class="repo-link">
查看文档源码
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link">
首页
</a></div><div class="nav-item"><a href="/jupiter/" class="nav-link">
框架
</a></div><div class="nav-item"><a href="/juno/" class="nav-link router-link-active">
管理平台
</a></div><div class="nav-item"><a href="/join/" class="nav-link">
加入我们
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="了解更多" class="dropdown-title"><span class="title">了解更多</span> <span class="arrow down"></span></button> <button type="button" aria-label="了解更多" class="mobile-dropdown-title"><span class="title">了解更多</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://github.com/douyu/jupiter" target="_blank" rel="noopener noreferrer" class="nav-link external">
微服务治理框架
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://github.com/douyu/juno" target="_blank" rel="noopener noreferrer" class="nav-link external">
微服务管理平台
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div><div class="nav-item"><a href="https://github.com/douyu/jupiter" target="_blank" rel="noopener noreferrer" class="nav-link external">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <a href="https://github.com/douyu/jupiter" target="_blank" rel="noopener noreferrer" class="repo-link">
查看文档源码
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第一章 基本介绍</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/1.1quickstart.html" class="sidebar-link">1.1 快速开始</a></li><li><a href="/juno/1.2install_docker.html" class="sidebar-link">Docker</a></li><li><a href="/juno/1.3install_binary.html" class="sidebar-link">1.3 二进制安装</a></li><li><a href="/juno/1.4install_docker_compose.html" class="sidebar-link">1.4 docker-compose 安装</a></li><li><a href="/juno/1.5quickuse.html" class="sidebar-link">1.5 平台使用介绍</a></li><li><a href="/juno/1.6contribution.html" class="sidebar-link">1.6 参与JUNO开发</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第二章 资源中心</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/2.1intro.html" class="sidebar-link">2.1 资源中心介绍</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第三章 配置中心</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/3.1intro.html" class="sidebar-link">3.1 配置中心介绍</a></li><li><a href="/juno/3.2feature.html" class="sidebar-link">3.2 配置中心特点</a></li><li><a href="/juno/3.3design.html" class="sidebar-link">3.3 配置中心设计</a></li><li><a href="/juno/3.4ui.html" class="sidebar-link">3.4 交互设计</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第四章 治理中心</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/4.1govern.html" class="sidebar-link">4.1 治理中心</a></li><li><a href="/juno/4.2pprof.html" class="sidebar-link">4.2 Pprof</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第五章 监控中心</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/5.1monitor.html" class="sidebar-link">5.1 监控配置</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第六章 注册中心</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/6.1register.html" class="sidebar-link">6.1 注册中心</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第七章 任务平台</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/7.1task.html" class="sidebar-link">7.1 任务平台</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第八章 测试平台</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/8.1grpc_test.html" class="sidebar-link">8.1 GRPC 测试</a></li><li><a href="/juno/8.2http_test.html" class="sidebar-link">8.2 HTTP 测试</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>第九章 Juno-Agent</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/9.1quickstart.html" class="sidebar-link">9.1 运行和部署</a></li><li><a href="/juno/9.2configuration.html" class="sidebar-link">9.2 Agent配置</a></li><li><a href="/juno/9.3config_get.html" class="sidebar-link">13.1 JUNO AGENT</a></li><li><a href="/juno/9.4configdown.html" aria-current="page" class="active sidebar-link">9.4 应用配置下发</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/juno/9.4configdown.html#_9-4-1-配置下发流程" class="sidebar-link">9.4.1 配置下发流程</a></li></ul></li><li><a href="/juno/9.5configparse.html" class="sidebar-link">9.5 应用配置解析</a></li><li><a href="/juno/9.6agentReport.html" class="sidebar-link">9.6 agent状态上报</a></li><li><a href="/juno/9.7pmt.html" class="sidebar-link">9.7 扫描器</a></li><li><a href="/juno/9.8proxy.html" class="sidebar-link">9.3 服务代理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第十章 日志中心</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/10.1applog.html" class="sidebar-link">10.1 日志中心</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第十一章 授权模块</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/11.1intro.html" class="sidebar-link">4.1 授权介绍</a></li><li><a href="/juno/11.2authproxy.html" class="sidebar-link">4.2 反向代理授权</a></li><li><a href="/juno/11.3gitlab.html" class="sidebar-link">4.3 Gitlab Auth</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第十二章 API文档</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/12.1apiauth.html" class="sidebar-link">12.1 API 授权</a></li><li><a href="/juno/12.2openapi.html" class="sidebar-link">12.2 Open API</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第十三章 系统设置</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/13.1system_setting.html" class="sidebar-link">14.1 系统设置</a></li><li><a href="/juno/13.2junoevent.html" class="sidebar-link">13.2 系统消息事件配置</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>第十四章 操作统计</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/juno/14.1statistics.html" class="sidebar-link">14.1 操作统计</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="_9-4-应用配置下发"><a href="#_9-4-应用配置下发" class="header-anchor">#</a> 9.4 应用配置下发</h1> <p>应用配置是结合<code>confgo</code>一起使用。</p> <h2 id="_9-4-1-配置下发流程"><a href="#_9-4-1-配置下发流程" class="header-anchor">#</a> 9.4.1 配置下发流程</h2> <p>配置下发流程如下所示
<img src="/assets/img/configdown1.689aefc1.png" alt="image"></p> <ul><li>用户在Juno配置中心进行配置新增或变更操作,在点击发布之后配置会同步到机房代理服务(Juno Proxy),再将配置数据写入机房内的ETCD中;</li> <li>客户端(Juno Agent)监听 ETCD 的数据变化来更新配置数据;</li> <li>客户端(Juno Agent)从配置中心获取到应用程序相关的最新版本配置文件后,更新本地的内存缓存;</li> <li>客户端(Juno Agent)在更新内存缓存的同时会在本地文件系统中缓存一份,在服务不可用或者网络故障时,让应用程序直接使用本地文件配置;</li> <li>应用程序从客户端(Juno Agent)获取最新的配置。</li> <li>客户端(Juno Agent)维护应用配置的关系,通过长轮询,用户可以实时获取应用最新配置</li></ul></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/douyu/jupiter/edit/master/website/docs/juno/9.4configdown.md" target="_blank" rel="noopener noreferrer">在github.com上编辑此页</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">上次更新:</span> <span class="time">2023-10-11 03:46:14</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
←
<a href="/juno/9.3config_get.html" class="prev">
13.1 JUNO AGENT
</a></span> <span class="next"><a href="/juno/9.5configparse.html">
9.5 应用配置解析
</a>
→
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/assets/js/app.6f262e36.js" defer></script><script src="/assets/js/2.1d6946eb.js" defer></script><script src="/assets/js/1.bef861db.js" defer></script><script src="/assets/js/37.8d39586c.js" defer></script>
</body>
</html>