{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ProduceFailureMode", "title": "ProduceFailureMode", "description": "Describes how to handle a failure in a policy applied to produced records.\n* `reject` - rejects the record batch.\n* `passthrough` - passes the record silently to the backend cluster even though policy execution failed.\n* `mark` - passes the record to the backend cluster but marks it with a `kong/policy-failure-` header whose value is the reason for the policy failure (truncated to 512 characters).\n", "type": "string", "enum": [ "reject", "passthrough", "mark" ], "x-speakeasy-unknown-values": "allow" }