raptor-config-node ==================


What's raptor-config module?

  • raptor-config module is a pluggable piece of context-config module that could load your config from raptor config mongo service
  • read https://wiki.vip.corp.ebay.com/display/RAPTOR/Raptor+Config+Mongo+Service+1.2 for raptor config's mongo service information
  • raptor-config is responsible for loading config data from the mongo service as above
  • raptor-config is responsible for detecting changes from the mongo service as above and notify the configuration users

How to use?

new require("raptor-config").RaptorConfig(emitter); //emitter being the same emitter ur config builder uses, it could be this particular process, or the cluster