mercyblitz / java-training-camp

Java Training Camp
Apache License 2.0
168 stars 116 forks source link

第二期 作业三:基于 Apache Curator 实现分布式配置管理 #11

Open mercyblitz opened 1 year ago

mercyblitz commented 1 year ago

要求

  1. (必须)基于 Apache Curator 对 Zookeeper 操作,以及对 Spring Environment(PropertySources)整合,实现分布式配置管理

  2. (可选)基于 1 的基础上,实现在 Spring 场景下的配置变换监听。 提示:基于 Spring ApplicationEvent 来实现,参考:https://github.com/nacos-group/nacos-spring-project/tree/develop/nacos-spring-context

  3. (可选)基于 1 的基础上,实现配置元数据管理,如:增加配置媒体类型,Content-Type: text/properties、text/json,增加 Content-Length(流媒体)

liqi19950722 commented 1 year ago

https://github.com/liqi19950722/Work/tree/master/work-2-03 第三个不确定是不是这么实现 使用场景都在单元测试里边

Kurok1 commented 1 year ago

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实现

xiaozhimingjava commented 3 months ago

https://github.com/xiaozhimingjava/mybiz/tree/zookeeper_config