<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Config Toolkit分布配置工具包

          聯(lián)合創(chuàng)作 · 2023-10-01 15:21

          Config Toolkit 是大型集群和分布式應用配置工具包。Config toolkit 用于簡化從本地配置文件到 zookeeper 的遷移。

          在大型集群和分布式應用中,配置不宜分散到集群結點中,應該集中管理.


          依賴

          • JAVA 7+

          • TOMCAT 7+ for ConfigWeb

          模塊

          • Config Toolkit - 封裝應用屬性配置的獲取及更新

          • ConfigWeb - 提供web界面維護屬性配置,提供配置導入導出功能

          特性

          • 集中管理集群配置

          • 實現(xiàn)配置熱更新

          • 多配置源支持,內置支持zookeeper、本地文件、http協(xié)議

          • Spring集成

          • 本地配置覆蓋

          • 配置管理web界面

          • 版本控制,支持灰度發(fā)布

          • 支持為配置項添加注釋

          Quick Start

          load properties from zookeeper

          ZookeeperConfigProfile configProfile = new ZookeeperConfigProfile("zoo.host1:8181", "/projectx/modulex", "1.0.0");
              GeneralConfigGroup propertyGroup1 = new ZookeeperConfigGroup(configProfile, "property-group1");

          load properties from classpath file

          FileConfigProfile configProfile = new FileConfigProfile("UTF8", "properties");
              ConfigGroup configGroup = new FileConfigGroup(configProfile, "classpath:property-group1.properties");

          load xml properties from classpath file

          FileConfigProfile configProfile = new FileConfigProfile("UTF8", "xml");
              ConfigGroup configGroup = new FileConfigGroup(configProfile, "classpath:property-group1.xml");

          load properties from file

          FileConfigProfile configProfile = new FileConfigProfile("UTF8", "properties");
              ConfigGroup configGroup = new FileConfigGroup(configProfile, "file:/Users/yuxuanwang/Work/git/config-toolkit/config-toolkit-demo/src/main/resources/property-group1.properties");

          load properties from http

          FileConfigProfile configProfile = new FileConfigProfile("UTF8", "properties");
              ConfigGroup configGroup = new FileConfigGroup(configProfile, "http://crnlmchina.github.io/config-group.properties");

           

          瀏覽 13
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  靠逼视频免费看 | 亚洲黄色视频在线 | 在线播放黄色国产 | 超碰在线手机 | 做爱网站免费猛烈 |