Skip to main content

modes

Creates, updates, deletes, gets or lists a modes resource.

Overview

Namemodes
TypeResource
Idconfluent.schema_registry.modes

Fields

NameDatatypeDescription
modestringSchema Registry operating mode

Methods

NameAccessible byRequired ParamsDescription
get_modeSELECTsubjectRetrieves the subject mode.
get_top_level_modeSELECTRetrieves global mode.
delete_subject_modeDELETEsubjectDeletes the specified subject-level mode and reverts to the global default.
update_modeEXECsubjectUpdate mode for the specified subject. On success, echoes the original request back to the client.
update_top_level_modeEXECUpdate 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 }}';