V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
licoycn
V2EX  ›  程序员

配置中心采用 nacos 还是 apollo

  •  
  •   licoycn ·
    Licoy · Apr 12, 2022 · 4117 views
    This topic created in 1477 days ago, the information mentioned may be changed or developed.

    如题,近来使用了以上两种配置中心,也有想过使用 consul ,但是相对功能来说比较单一;最终采用了 apollo ,为什么不选择 nacos 呢?有一点很重要的原因:

    更新太慢了~~

    例如,项目中用的版本是 springboot2.6+,搞了半天没搞出来,最后发现是不支持,也有大佬提交 pr ,官方也合并了,但是就一直没发版本: https://github.com/alibaba/nacos/issues/4554

    Oktfolio
        1
    Oktfolio  
       Apr 12, 2022
    我就觉得 apollo 的 UI 做得太糟了
    VeryZero
        2
    VeryZero  
       Apr 12, 2022
    我也遇到同样的问题。不过我很好奇,什么需求 consul 满足不了?

    当时选 nacos 纯粹是支持国产,结果。。。
    freeup
        3
    freeup  
       Apr 12, 2022 via Android
    我们用的 nacos 注册中心与配置中心一体 方便部署 用起来也不错 与 seata 集成也很方便 目前没发现啥问题。。。就是如果配置集合会有坑 最好用字符串手动分割
    nekoneko
        4
    nekoneko  
       Apr 12, 2022
    consul 单一?逗我呢
    sczero
        5
    sczero  
       Apr 12, 2022
    直接用 nacos-spring 就行了,boot 版还没更新
    janxin
        6
    janxin  
       Apr 12, 2022
    @VeryZero Audit Logging 是企业版功能,如果不付钱只能二开了吧。而且对配置中心而言,版本管理也很重要,这部分基本需要二开...
    AA5DE3F034ACCB9E
        7
    AA5DE3F034ACCB9E  
       Apr 12, 2022
    apollo api 还不错,UI 难用到自己写 api
    licoycn
        8
    licoycn  
    OP
       Apr 12, 2022
    @nekoneko #4 我指的单一是没有像灰度发布这些功能,之前写其他应用的时候就是用的 consul 来作为注册中心,还是很强大的。
    nekoneko
        9
    nekoneko  
       Apr 12, 2022
    @licoycn #8 灰度发布跟服务治理中心有什么关系?
    licoycn
        10
    licoycn  
    OP
       Apr 12, 2022
    @nekoneko #9 这个主题主要是讨论做配置中心
    apgmer
        11
    apgmer  
       Apr 12, 2022
    虽然没用过 apollo 但是 nacos 坑我好几次
    archer2ee
        12
    archer2ee  
       Apr 12, 2022
    @apgmer 好奇老哥遇到的 nacos 坑是什么?
    night98
        13
    night98  
       Apr 12, 2022
    apollo 很早之前用过,只能说体验很一般,nacos 最近两年在用,优点是方便,直接起一个服务就行了,缺点就跟楼上说的一样,更新慢,兼容性问题多,经常 springboot 更新几个月了才支持是常事,如果项目用了 k8s 的话直接 configmap 感觉比 nacos 实用
    MarkLazy
        14
    MarkLazy  
       Apr 12, 2022 via Android
    前两天我发现 nacos 的 accesslog 把磁盘写爆了
    XhstormR02
        15
    XhstormR02  
       Apr 12, 2022 via Android
    consul 免费版功能相对企业来说单一吧
    afewok
        16
    afewok  
       Apr 13, 2022
    用词不当啊,这叫更新慢?这叫 kpi 项目。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1197 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 23:13 · PVG 07:13 · LAX 16:13 · JFK 19:13
    ♥ Do have faith in what you're doing.