EventGatewayModifyHeaderRemoveAction
objectAn action that removes a header by key.
Allowed values:remove
The key of the header to remove.
EventGatewayModifyHeaderSetAction
objectAn action that sets a header key and value.
Allowed values:set
The key of the header to set.
The value of the header to set.
Schema Validation
objectA policy that validates consume messages against a schema registry.
The type name of the policy.
Allowed values:schema_validation
>= 1 characters<= 255 characters
A unique user-defined name of the policy.
<= 255 characters
A human-readable description of the policy.
Default:
<= 512 characters
Whether the policy is enabled.
Default:true
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.
Example:{"env":"test"}
The configuration of the schema validation policy.
Show Child Parameters
A string containing the boolean expression that determines whether the policy is applied.
Default:
<= 1000 characters
Example:context.topic.name.endsWith("my_suffix") && record.headers["x-flag"] == "a-value"
Schema Validation
objectA policy that validates produce messages against a schema registry.
The type name of the policy.
Allowed values:schema_validation
>= 1 characters<= 255 characters
A unique user-defined name of the policy.
<= 255 characters
A human-readable description of the policy.
Default:
<= 512 characters
Whether the policy is enabled.
Default:true
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.
Example:{"env":"test"}
One OfThe configuration of the policy.
The configuration of the produce schema validation policy when using a schema registry.
Show Child Parameters
A string containing the boolean expression that determines whether the policy is applied.
Default:
<= 1000 characters
Example:context.topic.name.endsWith("my_suffix") && record.headers["x-flag"] == "a-value"
EventGatewayProduceSchemaValidationPolicyConfig
The configuration of the produce schema validation policy.
One OfOne OfA reference to a schema Registry.
Show Child Parameters
Defines a behavior when record key is not valid.
- reject - rejects a batch for topic partition. Only available for produce.
- mark - marks a record with kong/server header and client ID value
to help to identify the clients violating schema.
Allowed values:rejectmark
Defines a behavior when record value is not valid.
- reject - rejects a batch for topic partition. Only available for produce.
- mark - marks a record with kong/server header and client ID value
to help to identify the clients violating schema.
Allowed values:rejectmark
Allowed values:confluent_schema_registry