#apollo #client #ctrip

app apollo-puller

Executable program which pull Ctrip Apollo configuration to local files, can be used as a sidecar

1 unstable release

0.1.1 Jan 25, 2022
0.1.0 Jan 25, 2022

#37 in #apollo

31 downloads per month

MulanPSL-2.0

20KB
137 lines

Apollo Puller

Executable program which pull Ctrip Apollo configuration to local files, can be used as a sidecar.

Usage

apollo-puller -c .config.yaml

Example config.yaml:

# log_level: INFO
# worker_threads: 3
dir: "<dir of configurations>"
config_service_url: "<url of apollo config service>"
host:
  type: "HostName"  # HostName, HostCidr or Custom
apps:
- app_id: "<apollo app id>"
  namespaces:
  - application.properties
  - application.yaml

License

MulanPSL-2.0.

Dependencies

~13–28MB
~439K SLoC