Apache Pulsar · JSON Structure

Apache Pulsar Function Config Structure

FunctionConfig schema from Apache Pulsar

Type: object Properties: 12
Cloud NativeMessagingMulti-TenantPub-SubStreamingApacheOpen Source

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

Properties

tenant namespace name className inputs output logTopic processingGuarantees parallelism runtime autoAck userConfig

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-pulsar/refs/heads/main/json-structure/apache-pulsar-function-config-structure.json",
  "description": "FunctionConfig schema from Apache Pulsar",
  "type": "object",
  "properties": {
    "tenant": {
      "type": "string"
    },
    "namespace": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "className": {
      "type": "string"
    },
    "inputs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "output": {
      "type": "string"
    },
    "logTopic": {
      "type": "string"
    },
    "processingGuarantees": {
      "type": "string",
      "enum": [
        "ATLEAST_ONCE",
        "ATMOST_ONCE",
        "EFFECTIVELY_ONCE"
      ]
    },
    "parallelism": {
      "type": "int32"
    },
    "runtime": {
      "type": "string",
      "enum": [
        "JAVA",
        "PYTHON",
        "GO"
      ]
    },
    "autoAck": {
      "type": "boolean"
    },
    "userConfig": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "name": "FunctionConfig"
}