Apache Samza · JSON Structure

Apache Samza Job Structure

Samza stream processing job

Type: object Properties: 5
Big DataHadoopKafkaStream ProcessingStreamingApacheOpen Source

Job is a JSON Structure definition published by Apache Samza, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

jobName jobId status containersCount taskCount

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-samza/refs/heads/main/json-structure/apache-samza-job-structure.json",
  "description": "Samza stream processing job",
  "type": "object",
  "properties": {
    "jobName": {
      "type": "string",
      "description": "Job name"
    },
    "jobId": {
      "type": "string",
      "description": "Job identifier"
    },
    "status": {
      "type": "string",
      "enum": [
        "STARTED",
        "STOPPED",
        "NEW",
        "STARTING",
        "STOPPING",
        "RESTARTING",
        "UNKNOWN"
      ],
      "description": "Current job status"
    },
    "containersCount": {
      "type": "int32",
      "description": "Number of containers running"
    },
    "taskCount": {
      "type": "int32",
      "description": "Total task count"
    }
  },
  "name": "Job"
}