connector_tasks
Creates, updates, deletes, gets or lists a connector_tasks
resource.
Overview
Name | connector_tasks |
Type | Resource |
Id | confluent.connect.connector_tasks |
Fields
Name | Datatype | Description |
---|---|---|
id | object | The ID of task. |
config | object | Configuration parameters for the connector. These configurations are the minimum set of key-value pairs (KVP) which can be used to define how the connector connects Kafka to the external system. Some of these KVPs are common to all the connectors, such as connection parameters to Kafka, connector metadata, etc. The list of common connector configurations is as follows - cloud.environment - cloud.provider - connector.class - kafka.api.key - kafka.api.secret - kafka.endpoint - kafka.region - name A specific connector such as GcsSink would have additional parameters such as gcs.bucket.name , flush.size , etc. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_connectv1connector_tasks | SELECT | connector_name, environment_id, kafka_cluster_id | Get a list of tasks currently running for the connector. |
SELECT
examples
Get a list of tasks currently running for the connector.
SELECT
id,
config
FROM confluent.connect.connector_tasks
WHERE connector_name = '{{ connector_name }}'
AND environment_id = '{{ environment_id }}'
AND kafka_cluster_id = '{{ kafka_cluster_id }}';