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 |