apollo-puller

Crates.ioapollo-puller
lib.rsapollo-puller
version0.1.1
sourcesrc
created_at2022-01-25 04:45:58.699716
updated_at2022-01-25 04:53:27.997148
descriptionExecutable program which pull Ctrip Apollo configuration to local files, can be used as a sidecar.
homepage
repositoryhttps://github.com/jmjoy/apollo-puller
max_upload_size
id520595
size64,251
jmjoy (jmjoy)

documentation

https://docs.rs/apollo-puller

README

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.

Commit count: 3

cargo fmt