#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

#36 in #apollo

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–26MB
~396K SLoC