Skip to main content

connector_offsets_requests

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

Overview

Nameconnector_offsets_requests
TypeResource
Idconfluent.connect.connector_offsets_requests

Fields

NameDatatypeDescription
applied_atstringThe time at which the offsets were applied. The time is in UTC, ISO 8601 format.
previous_offsetsarrayArray of offsets which are categorised into partitions.
requestobjectThe request made to alter offsets.
statusobjectThe response of the alter offsets operation.

Methods

NameAccessible byRequired ParamsDescription
get_connectv1connector_offsets_request_statusSELECTconnector_name, environment_id, kafka_cluster_idGeneral Availability Get the status of the previous alter offset request.
alter_connectv1connector_offsets_requestEXECconnector_name, environment_id, kafka_cluster_id, data__typeGeneral Availability Request to alter the offsets of a connector. This supports the ability to PATCH/DELETE the offsets of a connector. Note, you will see momentary downtime as this will internally stop the connector, while the offsets are being altered. You can only make one alter offsets request at a time for a connector.

SELECT examples

General Availability Get the status of the previous alter offset request.

SELECT
applied_at,
previous_offsets,
request,
status
FROM confluent.connect.connector_offsets_requests
WHERE connector_name = '{{ connector_name }}'
AND environment_id = '{{ environment_id }}'
AND kafka_cluster_id = '{{ kafka_cluster_id }}';