To manage data evolution across client applications, you can update a schema registry's schema mode, which defines whether the schema registry or a specific subject allows changes, and the registry's compatibility type. This document shows you how to update a schema registry by using the Google Cloud console, the Google Cloud CLI, or the Managed Kafka API.
Required roles and permissions
To get the permissions that
you need to update a schema registry,
ask your administrator to grant you the
Managed Kafka Schema Registry Editor (roles/managedkafka.schemaRegistryEditor) IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
This predefined role contains the permissions required to update a schema registry. To see the exact permissions that are required, expand the Required permissions section:
Required permissions
The following permissions are required to update a schema registry:
-
Grant this permission on the parent location:
managedkafka.schemaRegistries.update
You might also be able to get these permissions with custom roles or other predefined roles.
Update a schema registry
For a schema registry, you can update the following properties:
Schema mode: To update the schema mode, see Update a schema mode.
Compatibility type: To update the compatibility type, see Update a compatibility type.