java-training-camp
java-training-camp copied to clipboard
第二期 作业三:基于 Apache Curator 实现分布式配置管理
要求
-
(必须)基于 Apache Curator 对 Zookeeper 操作,以及对 Spring Environment(PropertySources)整合,实现分布式配置管理
-
(可选)基于 1 的基础上,实现在 Spring 场景下的配置变换监听。 提示:基于 Spring ApplicationEvent 来实现,参考:https://github.com/nacos-group/nacos-spring-project/tree/develop/nacos-spring-context
-
(可选)基于 1 的基础上,实现配置元数据管理,如:增加配置媒体类型,Content-Type: text/properties、text/json,增加 Content-Length(流媒体)
https://github.com/liqi19950722/Work/tree/master/work-2-03 第三个不确定是不是这么实现 使用场景都在单元测试里边
https://github.com/Kurok1/java-training-camp/tree/homework/stage-2/zookeeper-curator-config
curator-config
模块为主要实现
curator-config-sample
模块为示例代码
stream-config-server
为简单推流服务器,基于Server-Sent Event实现
https://github.com/xiaozhimingjava/mybiz/tree/zookeeper_config