KafkaSchemaRegistryConfig
¶
Source code in docs_src/capo_lambda/types/kafka_schema_registry_config.py
access_configs
instance-attribute
¶
access_configs: NotRequired[KafkaSchemaRegistryAccessConfigList]
An array of access configuration objects that tell Lambda how to authenticate with your schema registry.
event_record_format
instance-attribute
¶
event_record_format: NotRequired[SchemaRegistryEventRecordFormat]
The record format that Lambda delivers to your function after schema validation.
-
Choose
JSONto have Lambda deliver the record to your function as a standard JSON object. -
Choose
SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
schema_registry_uri
instance-attribute
¶
schema_registry_uri: NotRequired[SchemaRegistryUri]
The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.
-
For Glue schema registries, use the ARN of the registry.
-
For Confluent schema registries, use the URL of the registry.
schema_validation_configs
instance-attribute
¶
schema_validation_configs: NotRequired[KafkaSchemaValidationConfigList]
An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.