NGINX · JSON Structure

Plus Http Api Nginx Stream Zone Sync Structure

Type: object Properties: 0
API GatewayCachingCloud NativeLoad BalancerOpen SourceReverse ProxyWeb Server

Stream Zone Sync Node is a JSON Structure definition published by NGINX. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "Stream Zone Sync Node",
  "type": "object",
  "members": {
    "zones": {
      "name": "Zone Sync Zones",
      "description": "Synchronization information per each shared memory zone.",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/definitions/NginxStreamZoneSyncZone"
      },
      "example": {}
    },
    "status": {
      "description": "Synchronization information per node in a cluster.",
      "type": "object",
      "members": {
        "bytes_in": {
          "description": "The number of bytes received by this node.",
          "type": "int32",
          "example": 0
        },
        "msgs_in": {
          "description": "The number of messages received by this node.",
          "type": "int32",
          "example": 0
        },
        "msgs_out": {
          "description": "The number of messages sent by this node.",
          "type": "int32",
          "example": 0
        },
        "bytes_out": {
          "description": "The number of bytes sent by this node.",
          "type": "int32",
          "example": 0
        },
        "nodes_online": {
          "description": "The number of peers this node is connected to.",
          "type": "int32",
          "example": 0
        }
      },
      "example": 200
    }
  },
  "example": {
    "zones": {
      "zone1": {
        "records_pending": 2061,
        "records_total": 260575
      },
      "zone2": {
        "records_pending": 0,
        "records_total": 14749
      }
    },
    "status": {
      "bytes_in": 1364923761,
      "msgs_in": 337236,
      "msgs_out": 346717,
      "bytes_out": 1402765472,
      "nodes_online": 15
    }
  }
}