Skip to main content

exporters

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

Overview

Nameexporters
TypeResource
Idconfluent.schema_registry.exporters

Fields

NameDatatypeDescription
namestringName of the exporter
configobjectThe map containing exporter’s configurations
contextstringCustomized context of the exporter if contextType equals CUSTOM.
contextTypestringContext type of the exporter. One of CUSTOM, NONE or AUTO (default)
subjectRenameFormatstringFormat string for the subject name in the destination cluster, which may contain ${subject} as a placeholder for the originating subject name. For example, dc_${subject} for the subject orders will map to the destination subject name dc_orders.
subjectsarrayName of each exporter subject

Methods

NameAccessible byRequired ParamsDescription
get_exporter_info_by_nameSELECTnameRetrieves the information of the schema exporter.
delete_exporterDELETEnameDeletes the schema exporter.
list_exportersEXECRetrieves a list of schema exporters that have been created.
pause_exporter_by_nameEXECnamePauses the state of the schema exporter.
register_exporterEXECCreates a new schema exporter. All attributes in request body are optional except config.
reset_exporter_by_nameEXECnameReset the state of the schema exporter.
resume_exporter_by_nameEXECnameResume running of the schema exporter.
update_exporter_infoEXECnameUpdates the information or configurations of the schema exporter. All attributes in request body are optional.

SELECT examples

Retrieves the information of the schema exporter.

SELECT
name,
config,
context,
contextType,
subjectRenameFormat,
subjects
FROM confluent.schema_registry.exporters
WHERE name = '{{ name }}';

DELETE example

Deletes the specified exporters resource.

/*+ delete */
DELETE FROM confluent.schema_registry.exporters
WHERE name = '{{ name }}';