【问题标题】:what are the advantages of aws cloud config over spring cloud config?aws cloud config 比 spring cloud config 有什么优势?
【发布时间】:2018-08-01 19:45:21
【问题描述】:

我们可以根据哪些参数来决定配置服务器? aws cloud config vs spring cloud config server?

  1. 如果应用程序是基于Spring框架开发的,哪一个会是更好的选择? aws-cloud-config / spring-config?
  2. 是否都支持 YAML 以外的 XML/属性配置?
  3. 能否同时配置高可用性?
  4. 是否可以定义工作流(例如,使用 jenkins 来批准需要移动到 PRODUCTION 的更改?)

【问题讨论】:

    标签: apache-zookeeper spring-cloud-config netflix-archaius


    【解决方案1】:

    如果您的应用程序基于 Spring,则使用 Spring Cloud Config 是有意义的,因为您将使用特定框架而不是 AWS config 等通用框架

    是的,Spring Cloud Config 支持 YAML 和属性文件

    最终,Spring Cloud Config 是一个 Spring Boot 应用程序,因此您可以使用我们用于任何 Spring 应用程序的相同策略使其高可用

    最简单的审批工作流程是

    1. 配置您的 Jenkins 作业以发送邮件以供批准
    2. 使用https://wiki.jenkins.io/display/JENKINS/Promoted+Builds+Plugin设置促销
    3. 将工件部署到特定环境

    【讨论】:

    • 谢谢。它支持 XML 格式吗?除了 YML 和 PROPERTIES
    • no XML 不受支持,如果您觉得这个答案有帮助,请接受 :)
    • 我们可以使用 aws config 来存储应用程序特定的配置吗?
    • AFAIK,无法使用
    猜你喜欢
    • 2016-02-18
    • 1970-01-01
    • 2016-10-24
    • 2018-01-09
    • 1970-01-01
    • 2016-09-29
    • 2021-03-11
    • 1970-01-01
    • 2018-12-30
    相关资源
    最近更新 更多