Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 06 / zookeeper39 atomic multi oneshot watch ephemeral session ledger

Replay finite ZooKeeper atomic multis, version checks, one-shot watch events and ephemeral cleanup.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-06/zookeeper39-atomic-multi-oneshot-watch-ephemeral-session-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "zk"
      ],
      "properties": {
        "zk": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "events",
                "sessions"
              ],
              "properties": {
                "events": {
                  "type": "array",
                  "items": {
                    "$ref": "#/properties/artifact/%24defs/json"
                  },
                  "maxItems": 512
                },
                "sessions": {
                  "type": "number"
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "events",
                    "nodes",
                    "remaining_watches"
                  ],
                  "properties": {
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "events",
                          "status",
                          "value",
                          "zxid"
                        ],
                        "properties": {
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "event",
                                "path",
                                "session",
                                "watch_type"
                              ],
                              "properties": {
                                "event": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "path": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "session": {
                                  "type": "number"
                                },
                                "watch_type": {
                                  "type": "string",
                                  "maxLength": 20000
                                }
                              }
                            },
                            "maxItems": 512
                          },
                          "status": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "value": {
                            "anyOf": [
                              {
                                "$ref": "#/properties/artifact/%24defs/json"
                              },
                              {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "children"
                                    ],
                                    "properties": {
                                      "children": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "maxLength": 20000
                                        },
                                        "maxItems": 512
                                      }
                                    }
                                  },
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "cversion",
                                      "version"
                                    ],
                                    "properties": {
                                      "cversion": {
                                        "type": "number"
                                      },
                                      "version": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "data",
                                      "version"
                                    ],
                                    "properties": {
                                      "data": {
                                        "type": "number"
                                      },
                                      "version": {
                                        "type": "number"
                                      }
                                    }
                                  }
                                ]
                              }
                            ]
                          },
                          "zxid": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "nodes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "cversion",
                          "data",
                          "owner",
                          "path",
                          "version"
                        ],
                        "properties": {
                          "cversion": {
                            "type": "number"
                          },
                          "data": {
                            "type": "number"
                          },
                          "owner": {
                            "anyOf": [
                              {
                                "$ref": "#/properties/artifact/%24defs/json"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "path": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "version": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "remaining_watches": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "path",
                          "session",
                          "type"
                        ],
                        "properties": {
                          "path": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "session": {
                            "type": "number"
                          },
                          "type": {
                            "type": "string",
                            "maxLength": 20000
                          }
                        }
                      },
                      "maxItems": 512
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "json": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            },
            {
              "type": "number"
            },
            {
              "type": "string",
              "maxLength": 6000
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/properties/artifact/%24defs/json"
              },
              "maxItems": 512
            },
            {
              "type": "object",
              "maxProperties": 128,
              "additionalProperties": {
                "$ref": "#/properties/artifact/%24defs/json"
              }
            }
          ]
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →