Resource: SchemaMode
SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry's mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
| JSON representation |
|---|
{
"mode": enum ( |
| Fields | |
|---|---|
mode |
Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting). |
ModeType
Mode type of the schemas or subjects.
| Enums | |
|---|---|
NONE |
No mode. |
READONLY |
READONLY mode. |
READWRITE |
READWRITE mode. |
IMPORT |
IMPORT mode. |
Methods |
|
|---|---|
|
Delete schema mode for a subject. |
|
Get mode at global level or for a subject. |
|
Update mode at global level or for a subject. |