Skip to main content

connector_status

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

Overview

Nameconnector_status
TypeResource
Idconfluent.connect.connector_status

Fields

The following fields are returned by SELECT queries:

Connector.

NameDatatypeDescription
namestringThe name of the connector.
connectorobjectThe map containing connector status.
tasksarrayThe map containing the task status.
typestringType of connector, sink or source. (sink, source)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
read_connectv1_connector_statusselectconnector_name, environment_id, kafka_cluster_idGet current status of the connector. This includes whether it is running, failed, or paused. Also includes which worker it is assigned to, error information if it has failed, and the state of all its tasks.

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.

NameDatatypeDescription
connector_namestringThe unique name of the connector.
environment_idstringThe unique identifier of the environment this resource belongs to.
kafka_cluster_idstringThe unique identifier for the Kafka cluster.

SELECT examples

Get current status of the connector. This includes whether it is running, failed, or paused. Also includes which worker it is assigned to, error information if it has failed, and the state of all its tasks.

SELECT
name,
connector,
tasks,
type
FROM confluent.connect.connector_status
WHERE connector_name = '{{ connector_name }}' -- required
AND environment_id = '{{ environment_id }}' -- required
AND kafka_cluster_id = '{{ kafka_cluster_id }}' -- required
;