Open
Description
Description
confluent-kafka-python/src/confluent_kafka/schema_registry/json_schema.py
Lines 272 to 279 in 5a87879
When validating certain special types, modifications to the 'validate' method are required, as shown below:
from jsonschema import validate, ValidationError, RefResolver, Draft202012Validator
validate(instance=value, schema=self._parsed_schema, format_checker=Draft202012Validator.FORMAT_CHECKER)
How to reproduce
Checklist
Please provide the following information:
- confluent-kafka-python and librdkafka version (
v2.3.0
andconfluent_kafka.libversion()
): - Apache Kafka broker version: 5.5.11
- Client configuration:
{'auto.register.schemas': False, 'subject.name.strategy': record_subject_name_strategy}
- Operating system:
- Provide client logs (with
'debug': '..'
as necessary) - Provide broker log excerpts
- Critical issue