Connectors (usm/v1)
Create connector
Changed onAsync, reconciled: 201 means the desired state passed best-effort synchronous control-plane validation and was accepted, not that the connector is confirmed running. Deeper validation (the connector's own validate(), which needs the on-prem worker) happens after the 2xx and surfaces on GET .../status.
post/usm/v1/connect-clusters/{connect_cluster_id}/connectors
Request
- Base URLhttps://api.confluent.cloud
- URLhttps://api.confluent.cloud/usm/v1/connect-clusters/{connect_cluster_id}/connectors
- Auth
- HTTP basic
- or HTTP basic
- or OAuth 2Client credentialsToken URL: https://api.confluent.cloud/sts/v1/oauth2/token
Request body
Example request
{
"name": "s3-sink-01",
"config": {
"connector.class": "io.confluent.connect.s3.S3SinkConnector",
"tasks.max": "2",
"topics": "orders",
"aws.secret.access.key": "${securepass:aws:secret}"
}
}Response
Created (accepted; not yet necessarily running)
Example response
{
"id": "usmco-a1b2c3",
"config": {
"connector.class": "io.confluent.connect.s3.S3SinkConnector",
"tasks.max": "2",
"topics": "orders",
"aws.secret.access.key": "${securepass:aws:secret}"
}
}Changes
- info
endpoint added
- info