blob: fa20b182b4a506fd2bbbde172ab348fbee9d150a [file] [log] [blame]
sync:
enableOnStart: false
datacenter:
name: dc1
peers:
- name: dc2
kind: servicecomb
endpoints: ["https://127.0.0.1:30100"]
# only allow mode implemented in incremental approach like push, watch(such as pub/sub, long polling)
mode: [push]
caFile: certs/ca.crt
revision: 100
- name: dc3
kind: consul
# since consul will not push data to servcecomb, if we need set push and watch mode to achieve two direction sync
mode: [push,watch]
revison: 200