{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-pulsar-event-source-schema.json", "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.PulsarEventSource", "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.PulsarEventSource schema from Argo Workflows API", "type": "object", "properties": { "authAthenzParams": { "type": "object", "title": "Authentication athenz parameters for the pulsar client.\nRefer https://github.com/apache/pulsar-client-go/blob/master/pulsar/auth/athenz.go\nEither token or athenz can be set to use auth.\n+optional", "additionalProperties": { "type": "string" } }, "authAthenzSecret": { "title": "Authentication athenz privateKey secret for the pulsar client.\nAuthAthenzSecret must be set if AuthAthenzParams is used.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "authTokenSecret": { "title": "Authentication token for the pulsar client.\nEither token or athenz can be set to use auth.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "connectionBackoff": { "title": "Backoff holds parameters applied to connection.\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Backoff" }, "filter": { "title": "Filter\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventSourceFilter" }, "jsonBody": { "type": "boolean", "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" }, "metadata": { "type": "object", "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", "additionalProperties": { "type": "string" } }, "tls": { "title": "TLS configuration for the pulsar client.\n+optional", "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TLSConfig" }, "tlsAllowInsecureConnection": { "type": "boolean", "title": "Whether the Pulsar client accept untrusted TLS certificate from broker.\n+optional" }, "tlsTrustCertsSecret": { "title": "Trusted TLS certificate secret.\n+optional", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, "tlsValidateHostname": { "type": "boolean", "title": "Whether the Pulsar client verify the validity of the host name from broker.\n+optional" }, "topics": { "type": "array", "title": "Name of the topics to subscribe to.\n+required", "items": { "type": "string" } }, "type": { "type": "string", "title": "Type of the subscription.\nOnly \"exclusive\" and \"shared\" is supported.\nDefaults to exclusive.\n+optional" }, "url": { "type": "string", "title": "Configure the service URL for the Pulsar service.\n+required" } } }