top_level_config
Creates, updates, deletes, gets or lists a top_level_config
resource.
Overview
Name | top_level_config |
Type | Resource |
Id | confluent.schema_registry.top_level_config |
Fields
Name | Datatype | Description |
---|---|---|
alias | string | If alias is specified, then this subject is an alias for the subject named by the alias. That means that any reference to this subject will be replaced by the alias. |
compatibilityGroup | string | Only schemas that belong to the same compatibility group will be checked for compatibility. |
compatibilityLevel | string | Compatibility Level |
defaultMetadata | object | Default value for the metadata to be used during schema registration. |
defaultRuleSet | object | Default value for the ruleSet to be used during schema registration. |
normalize | boolean | If true, then schemas are automatically normalized when registered or when passed during lookups. This means that clients do not have to pass the "normalize" query parameter to have normalization occur. |
overrideMetadata | object | Override value for the metadata to be used during schema registration. |
overrideRuleSet | object | Override value for the ruleSet to be used during schema registration. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_top_level_config | SELECT |
| Retrieves the global compatibility level, compatibility group, normalization, default metadata, and rule set. |
delete_top_level_config | DELETE |
| Deletes the global compatibility level config and reverts to the default. |
update_top_level_config | EXEC |
| Updates the global compatibility level, compatibility group, schema normalization, default metadata, and rule set. On success, echoes the original request back to the client. |
SELECT
examples
Retrieves the global compatibility level, compatibility group, normalization, default metadata, and rule set.
SELECT
alias,
compatibilityGroup,
compatibilityLevel,
defaultMetadata,
defaultRuleSet,
normalize,
overrideMetadata,
overrideRuleSet
FROM confluent.schema_registry.top_level_config
;
DELETE
example
Deletes the specified top_level_config
resource.
/*+ delete */
DELETE FROM confluent.schema_registry.top_level_config
WHERE = '{{ }}';