exporter_configs
Creates, updates, deletes, gets or lists an exporter_configs resource.
Overview
| Name | exporter_configs |
| Type | Resource |
| Id | confluent.schema_registry.exporter_configs |
Fields
The following fields are returned by SELECT queries:
- get_exporter_config_by_name
The original request
| Name | Datatype | Description |
|---|---|---|
basic.auth.credentials.source | string | Config SR Auth (example: USER_INFO) |
basic.auth.user.info | string | Config SR User Info |
schema.registry.url | string | Config SR URL (example: <Physical SR Endpoint>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_exporter_config_by_name | select | name | Retrieves the config of the schema exporter. | |
update_exporter_config_by_name | replace | name | Updates the configuration of the schema exporter. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the exporter |
SELECT examples
- get_exporter_config_by_name
Retrieves the config of the schema exporter.
SELECT
basic.auth.credentials.source,
basic.auth.user.info,
schema.registry.url
FROM confluent.schema_registry.exporter_configs
WHERE name = '{{ name }}' -- required
;
REPLACE examples
- update_exporter_config_by_name
Updates the configuration of the schema exporter.
REPLACE confluent.schema_registry.exporter_configs
SET
schema.registry.url = '{{ schema.registry.url }}',
basic.auth.credentials.source = '{{ basic.auth.credentials.source }}',
basic.auth.user.info = '{{ basic.auth.user.info }}'
WHERE
name = '{{ name }}' --required
RETURNING
name;