This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
generated from linksmart/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Shreekantha Devasya edited this page Apr 15, 2021
·
2 revisions
HDS data synchronizer is configured using a JSON configuration file, path to which is provided via --conf flag. By default, the server looks for a configuration file at: conf/conf.json
All configuration fields (except for arrays of objects) can be overridden using environment variables. Below are few examples:
SYNC_SOURCE="dns://host1:8088"
SYNC_DESTINATION="dns://host2:8088
A sample configuration file is available asconf.json. where
-
source
(string) the URL of the source datastore -
destination
(string) the URL of the destination datastore -
syncInterval
(string) the interval between two synchronization cycles (e.g. 1h10m10s). Valid time units are"ns", "us" (or "µs"), "ms", "s", "m", "h". If the value is set to "0", then the synchronization will subscribe to the source and constantly update the destination. -
tls
is the TLS configuration specific to this client to interact with HDS instances.-
ca
is the CA certificates to be passed to the client -
key
is the client certificate key -
cert
is the client certificate
-