Apache Helix · Schema

Partition

Helix partition state assignment across instances

ApacheCluster ManagementDistributed SystemsOpen SourcePartitioningReplication

Properties

Name Type Description
id string Partition name
instanceStateMap object Map of instance to state
View JSON Schema on GitHub

JSON Schema

helix-rest-partition-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/apache-helix/json-schema/helix-rest-partition-schema.json",
  "title": "Partition",
  "type": "object",
  "description": "Helix partition state assignment across instances",
  "properties": {
    "id": {
      "type": "string",
      "description": "Partition name",
      "example": "my-resource_0"
    },
    "instanceStateMap": {
      "type": "object",
      "description": "Map of instance to state",
      "example": {
        "localhost_12913": "MASTER",
        "localhost_12914": "SLAVE"
      }
    }
  }
}