ClusterTopologyPayload Data Type

Cluster topology payload.

Properties
name data type description
payload ClusterTopology
Properties inherited from TungstenPayload
payloadType string
payloadVersion string

Example

{
  "payload" : {
    "topology" : "clustered_primary",
    "name" : "global",
    "services" : [ {
      "name" : "west",
      "role" : "master",
      "datasources" : [ { }, { } ],
      "error" : true,
      "errorText" : "..."
    }, {
      "name" : "east",
      "role" : "slave",
      "datasources" : [ { }, { } ],
      "error" : true,
      "errorText" : "..."
    } ],
    "datasources" : [ {
      "name" : "db1",
      "role" : "master"
    }, {
      "name" : "db2",
      "role" : "slave"
    } ],
    "routers" : [ {
      "name" : "db1",
      "connections" : { }
    }, {
      "name" : "db2",
      "connections" : { }
    } ]
  },
  "payloadType" : "...",
  "payloadVersion" : "..."
}