Git Product home page Git Product logo

Comments (2)

DandelionJR avatar DandelionJR commented on June 1, 2024

经过多次测试发现。因为我设置了cluster,导致AutoFetchOnCacheMiss和FailTolerantOnBackupExists这两个默认参数消失,从而引起请求错误。请问为什么一定要加上这两个参数才能远程获取配置

from agollo.

shima-park avatar shima-park commented on June 1, 2024

你这里是不是读取的默认的application以外的namespace无法获取配置

默认只初始化namespace: application,
结合viper使用时,默认情况下也不会预加载其他namespace
AutoFetchOnCacheMiss这个配置是自动加载,没有预加载时传入namespace的配置

FailTolerantOnBackupExists这个配置按需添加, 会在目录下生成容灾的备份文件
apollo配置服务连不上时,会读取其中的容灾配置.

from agollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.