Introduction

cluster_table.data records the load balancing config among instances.

Configuration

Config Item Type Description
Version String Verson of config file
Config Struct Instance config of sub-cluster in cluster. cluster => sub-cluster => instance address and wight

Example

  1. {
  2. "Config": {
  3. "cluster_example": {
  4. "example.bfe.bj": [
  5. {
  6. "Addr": "10.199.189.26",
  7. "Name": "example_hostname",
  8. "Port": 10257,
  9. "Weight": 10
  10. }
  11. ]
  12. }
  13. },
  14. "Version": "20190101000000"
  15. }