Apache Helix · Schema

Resource

Helix resource (distributed data or service) configuration

ApacheCluster ManagementDistributed SystemsOpen SourcePartitioningReplication

Properties

Name Type Description
id string Resource name
stateModelDefRef string State model definition reference
numPartitions integer Number of partitions
replicas string Replication factor
rebalanceMode string Rebalance strategy
View JSON Schema on GitHub

JSON Schema

helix-rest-resource-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/apache-helix/json-schema/helix-rest-resource-schema.json",
  "title": "Resource",
  "type": "object",
  "description": "Helix resource (distributed data or service) configuration",
  "properties": {
    "id": {
      "type": "string",
      "description": "Resource name",
      "example": "my-resource"
    },
    "stateModelDefRef": {
      "type": "string",
      "description": "State model definition reference",
      "example": "MasterSlave"
    },
    "numPartitions": {
      "type": "integer",
      "description": "Number of partitions",
      "example": 16
    },
    "replicas": {
      "type": "string",
      "description": "Replication factor",
      "example": "3"
    },
    "rebalanceMode": {
      "type": "string",
      "description": "Rebalance strategy",
      "example": "FULL_AUTO"
    }
  }
}