Schemas
This page describes the commands to manage schemas in Lenses via the CLI.
View all schemas
View the current schemas registered:
lenses-cli schemas --unwrap [--output json/table/yaml [--query] [--no-pretty]]View a schema
Schemas can be filtered by name:
lenses-cli schema --name="sea_vessel_position_reports-value"View schema versions
Schemas versions can be viewed filtered by name:
lenses-cli schema versions --name="sea_vessel_position_reports-value"
# view by version
lenses-cli schema --name="sea_vessel_position_reports-value" --version="latest"View schema compatibility levels
Schema compatibility levels can be viewed and filtered by name:
Delete schemas
Delete all versions of a schema by name:
Delete schemas by version
Delete a specific version of a schema:
Change the compatibility of a Schema
Change the compatibility level of a schema:
Register a schema
Register a new schema for a name/subject by the command line or file:
Register by file:
schema.yaml:
Last updated
Was this helpful?

