Skip to content

Commit eb2726a

Browse files
authored
docs: update schema validation use case to include Avro and Protobuf (#277)
Remove the JSON Schema-only limitation from the schema validation use case page. The Record Validation filter now supports JSON Schema, Apache Avro and Protocol Buffers (Protobuf) schema types. Fixes: kroxylicious/kroxylicious#3826 Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Keith Wall <kwall@apache.org>
1 parent 08b3ffa commit eb2726a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

_use_cases/schema_validation_and_enforecement.markdown

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ even if producing applications are misconfigured.
6868

6969
The filter currently supports two modes of operation:
7070

71-
1. Schema validation[^1] validates the content of the record against a schema. Use this for topics which have an entry in
72-
the Schema Registry.
71+
1. Schema validation validates the content of the record against a schema. Use this for topics which have an entry in
72+
the Schema Registry. Supported schema types include JSON Schema, Apache Avro and Protocol Buffers (Protobuf).
7373
2. SyntacticallyCorrectJson validation ensures the producer is producing messages that contain syntactically valid JSON.
7474
Use for topics which do not have registered schemas.
7575

@@ -90,6 +90,3 @@ The following sequence diagram shows how schema validation issues are reported b
9090
The filter accepts configuration that allows you to assign validators on a per-topic basis. There are also
9191
configuration options that allow you to define whether the filter rejects just the records that don't meet the
9292
requirements of the validator, or whether then whole batch should be returned.
93-
94-
95-
[^1]: Currently, the feature supports only the JSON-Schema schema type.

0 commit comments

Comments
 (0)