modes
Creates, updates, deletes, gets or lists a modes
resource.
Overview
Name | modes |
Type | Resource |
Id | confluent.schema_registry.modes |
Fields
Name | Datatype | Description |
---|---|---|
mode | string | Schema Registry operating mode |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_mode | SELECT | subject | Retrieves the subject mode. |
get_top_level_mode | SELECT |
| Retrieves global mode. |
delete_subject_mode | DELETE | subject | Deletes the specified subject-level mode and reverts to the global default. |
update_mode | EXEC | subject | Update mode for the specified subject. On success, echoes the original request back to the client. |
update_top_level_mode | EXEC |
| Update global mode. On success, echoes the original request back to the client. |
SELECT
examples
Retrieves global mode.
SELECT
mode
FROM confluent.schema_registry.modes
;
DELETE
example
Deletes the specified modes
resource.
/*+ delete */
DELETE FROM confluent.schema_registry.modes
WHERE subject = '{{ subject }}';