Connector Auditable Event Methods on Confluent Cloud¶
Auditable event methods for the resource type CONNECTOR
are triggered by
operations on connectors (managed and custom) that sends event messages to the
audit log cluster and stores them as event records in a Kafka topic.
For more information about connectors in Confluent Cloud, see:
- View Confluent Cloud Connector Events
- Connect to External Systems in Confluent Cloud
- Confluent Cloud API for Kafka Connect
- Custom Connectors
- Custom Connector Quick Start
Connector¶
Auditable event methods for the resource type CONNECTOR
are triggered by
operations on a Confluent Cloud connector (managed or custom) that generate auditable
event messages. The event messages are sent to the audit log and stored as an
event record. For more information about event records, see
Understand Audit Log Event Records.
Method name | Operation triggering an auditable event message |
---|---|
CreateConnector | A request to create a connector. |
CreateOrUpdateConnector | A request to update an existing connector with the provided configuration and, if a connector with the given name doesn’t exist, a request to create a connector with the provided configuration. |
DeleteConnector | A request to delete a connector. |
GetConnector | A request for a query of connector details. |
GetConnectors | A request for a query of a list of all connectors. |
PauseConnector | A request to pause a connector. |
ResumeConnector | A request to resume a paused connector. |
CreateConnector¶
The CreateConnector
event method is triggered by a request to create a
connector and sends an event message that is stored in the audit log as an
event record.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "ea82b76b-af6f-4dbb-a939-266232a0cc98",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-12j2w5/connector=lcc-pkdrjy",
"time": "2021-10-20T20:00:56.417826232Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "CreateConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-12j2w5"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-pkdrjy"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"585f36dd2933d0dda8273451476d2fd7"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "redshift-sink-enterprise"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "redshift-sink-enterprise",
"user_configs": {
"aws.redshift.user": "awsuser",
"cloud.provider": "aws",
"input.data.format": "AVRO",
"kafka.api.key": "****************",
"name": "redshift-sink-enterprise",
"aws.redshift.domain": "redshift-cluster-1.us-west-1.redshift.amazonaws.com",
"db.timezone": "US/Pacific",
"kafka.region": "us-west-2",
"topics": "RedshiftSink-connect-pro-1634759921",
"valid.kafka.api.key": "true",
"auto.evolve": "false",
"aws.redshift.database": "dev",
"aws.redshift.port": "5439",
"kafka.api.secret": "****************",
"kafka.dedicated": "false",
"kafka.endpoint": "SASL_SSL://pkc-12345.us-west-2.aws.confluent.cloud:9092",
"tasks.max": "1",
"auto.create": "true",
"aws.redshift.password": "****************",
"cloud.environment": "prod",
"connector.class": "RedshiftSink",
"internal.kafka.endpoint": "PLAINTEXT://kafka-0.kafka.pkc-12345.svc.cluster.local:9071,kafka-1.kafka.pkc-12345.svc.cluster.local:9071,kafka-2.kafka.pkc-12345.svc.cluster.local:9071"
},
"type": 2
}
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-12j2w5/connector=lcc-pkdrjy"
}
}
FAILURE - "failed to setup connector: unable to get external connect secret by logical id"
{
"specversion": "1.0",
"id": "bb69c825-01bb-47b3-8462-eeb5aa59df1d",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-o3q3zy",
"time": "2021-10-21T01:10:59.132611387Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "CreateConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-o3q3zy"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"9f40e10be8042a21a41c66b811f54a01"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "eventhub-source"
}
},
"result": {
"status": "FAILURE",
"data": {
"errors": [
{
"id": "9f40e10be8042a21a41c66b811f54a01",
"status": "500",
"detail": "failed to setup connector: unable to get external connect secret by logical id",
"source": {}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-o3q3zy"
}
}
CreateOrUpdateConnector¶
The CreateOrUpdateConnector
event method is triggered by a request to update
a connector with the provided configuration and, if a connector with the given name
doesn’t exist, a request to create a connector with the provided configuration.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "16f7e1ce-683d-435c-8fec-a7dd515497cd",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-rrrnk7/connector=lcc-gkdn7n",
"time": "2021-10-20T21:21:15.036414311Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "CreateOrUpdateConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-rrrnk7"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-gkdn7n"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"7ac2c343362fd5234352d1ca02ccd545"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "control-plane"
}
},
"result": {
"status": "SUCCESS",
"data": {
"type": 2,
"name": "control-plane-pro",
"user_configs": {
"connector.class": "S3_SINK",
"kafka.api.key": "****************",
"s3.bucket.name": "connect-test",
"s3.region": "us-west-2",
"tasks.max": "1",
"cloud.environment": "prod",
"internal.kafka.endpoint": "PLAINTEXT://kafka-0.kafka.pkc-12345.svc.cluster.local:9071,kafka-1.kafka.pkc-12345.svc.cluster.local:9071,kafka-2.kafka.pkc-12345.svc.cluster.local:9071",
"kafka.dedicated": "false",
"name": "control-plane",
"input.data.format": "JSON",
"kafka.endpoint": "SASL_SSL://pkc-12345.us-west-2.aws.confluent.cloud:9092",
"kafka.region": "us-west-2",
"output.data.format": "JSON",
"time.interval": "HOURLY",
"topics": "connect-pro-semaphore-1634764254",
"valid.kafka.api.key": "true",
"aws.access.key.id": "****************",
"aws.secret.access.key": "****************",
"cloud.provider": "aws",
"kafka.api.secret": "****************"
}
}
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-rrrnk7/connector=lcc-gkdn7n"
}
}
FAILURE - "You already have 3 task(s) of available 32 on your kafka cluster"
{
"specversion": "1.0",
"id": "22564e38-19b8-4e6a-8a46-89b33eaa3e61",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-rrrnk7/connector=lcc-dgdvk1",
"time": "2021-10-21T06:41:51.968720822Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "CreateOrUpdateConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-rrrnk7"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-dgdvk1"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"ac0b92fa9a9f306f05f00db2b83e3dc0"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "control-plane"
}
},
"result": {
"status": "FAILURE",
"data": {
"errors": [
{
"source": {},
"id": "ac0b92fa9a9f306f05f00db2b83e3dc0",
"status": "400",
"detail": "You have already used 3 task(s) of available 32 on your kafka cluster lkc-rrrnk7. This typically occurs when other connectors are running in your organization. To add more available tasks, contact your Confluent account manager."
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-rrrnk7/connector=lcc-dgdvk1"
}
}
DeleteConnector¶
The DeleteConnector
event method is triggered by a request to delete a connector
and sends an event message that is saved in the audit log as an event record.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "220a06b2-05ba-4288-b9b7-5724f4c60172",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-ny0p0v/connector=lcc-23orvm",
"time": "2021-10-21T00:19:02.288866109Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "DeleteConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-ny0p0v"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-23orvm"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"7908028c1da8c0800b1a7f8c3ea1a8a4"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "generate-AzureSqlDwSink-connect-pro-1634774928-AVRO"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-ny0p0v/connector=lcc-23orvm"
}
}
FAILURE ("unable to get connector by a given filter ...")
{
"specversion": "1.0",
"id": "aa5f89b9-a5d2-4821-9f08-f106c60ccd66",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-q2r2rp",
"time": "2021-10-20T21:18:08.189486803Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "DeleteConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-q2r2rp"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"0d1cd82ac788afd4f0bdc97c77d078b6"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "GoogleCloudFunctionsSink"
}
},
"result": {
"status": "FAILURE",
"data": {
"errors": [
{
"id": "0d1cd82ac788afd4f0bdc97c77d078b6",
"status": "500",
"detail": "unable to get connector by a given filter: failed to get logical clusters",
"source": {}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-q2r2rp"
}
}
GetConnector¶
The GetConnector
event method is triggered by a request to get the details
of a connector and sends an event message that is saved in the audit log as an
event record.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "f9e0e4e3-1788-4511-a2f0-64568e4791b3",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-pgrgr5/connector=lcc-3nqrmo",
"time": "2021-10-20T21:21:31.953972658Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "GetConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-pgrgr5"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-3nqrmo"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"9ab19ef5908edc9933da05042c8737d3"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "READ_ONLY",
"data": {
"name": "s3-sink-enterprise"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "s3-sink-enterprise",
"user_configs": {
"connector.class": "S3_SINK",
"kafka.endpoint": "SASL_SSL://pkc-12345.us-west-2.aws.confluent.cloud:9092",
"output.data.format": "JSON",
"kafka.dedicated": "false",
"kafka.region": "us-west-2",
"tasks.max": "1",
"time.interval": "HOURLY",
"topics": "S3Sink-connect-pro-1634759921",
"aws.access.key.id": "****************",
"aws.secret.access.key": "****************",
"cloud.provider": "aws",
"valid.kafka.api.key": "true",
"s3.bucket.name": "connect-sink",
"s3.region": "us-west-2",
"internal.kafka.endpoint": "PLAINTEXT://kafka-0.kafka.pkc-12345.svc.cluster.local:9071,kafka-1.kafka.pkc-12345.svc.cluster.local:9071,kafka-2.kafka.pkc-12345.svc.cluster.local:9071",
"kafka.api.key": "****************",
"kafka.api.secret": "****************",
"cloud.environment": "prod",
"input.data.format": "JSON",
"name": "s3-sink-enterprise"
},
"type": 2
}
},
"resourceName": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-pgrgr5/connector=lcc-3nqrmo"
}
}
FAILURE - "resource not found"
{
"specversion": "1.0",
"id": "2958c204-3e63-4e46-8985-cb980862c894",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=eb537e84-c29b-4dc6-b962-7d094a775204/environment=env-wmwrm/cloud-cluster=lkc-dgrgo1",
"time": "2021-10-21T06:31:59.366743359Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "GetConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "eb537e84-c29b-4dc6-b962-7d094a775204"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-wmwrm"
}
]
},
"resource": {
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-dgrgo1"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-ld8v81"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"1e4b4fb1634700f3e3d617dab4c35bc2"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "READ_ONLY",
"data": {
"name": "DatagenSourceConnector_0"
}
},
"result": {
"status": "FAILURE",
"data": {
"errors": [
{
"id": "1e4b4fb1634700f3e3d617dab4c35bc2",
"status": "404",
"detail": "resource not found",
"source": {}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=eb537e84-c29b-4dc6-b962-7d094a775204/environment=env-wmwrm/cloud-cluster=lkc-dgrgo1"
}
}
GetConnectors¶
The GetConnectors
event method is triggered by a request to get a list of
connectors in the organization and sends an event message that is saved in the
audit log as an event record.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "eae9ac01-0868-45a5-82dc-2716f867545c",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=c5e50abf-6ba7-4926-a39c-6008f49f5075/environment=env-knnrw6/cloud-cluster=lkc-j8d8kp",
"time": "2021-10-21T08:36:25.686128307Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "GetConnectors",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "c5e50abf-6ba7-4926-a39c-6008f49f5075"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-knnrw6"
}
]
},
"resource": {
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-j8d8kp"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-97pp07"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"bc1c7a45805a6a01cab7ac9b91ff8e0a"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "READ_ONLY"
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=c5e50abf-6ba7-4926-a39c-6008f49f5075/environment=env-knnrw6/cloud-cluster=lkc-j8d8kp"
}
}
FAILURE - "Forbidden Access"
{
"specversion": "1.0",
"id": "67833661-b4f6-4cdd-a739-baabfc778b15",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=906da5b6-ebac-44cf-8a8d-663559f1f0d4/environment=env-81jz3r/cloud-cluster=cc5c2daa-8d58-4284-affa-5e597240d39b",
"time": "2021-10-20T19:30:28.85498229Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "GetConnectors",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "906da5b6-ebac-44cf-8a8d-663559f1f0d4"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-81jz3r"
}
]
},
"resource": {
"type": "CLOUD_CLUSTER",
"resourceId": "cc5c2daa-8d58-4284-affa-5e597240d39b"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4xn71e"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"ed7782db0e6e1c0f419ad45698708706"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "READ_ONLY"
},
"result": {
"status": "FAILURE",
"data": {
"errors": [
{
"code": "forbidden_access",
"detail": "Forbidden Access",
"source": {},
"id": "ed7782db0e6e1c0f419ad45698708706",
"status": "403"
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=906db5a6-ecad-4ecf-8a8d-663559f1f0d4/environment=env-82kz3r/cloud-cluster=cd5c2dba-8d58-4284-affa-5f597240d39b"
}
}
PauseConnector¶
The PauseConnector
event is triggered by a request to pause a connector
and sends an event message that is saved in the audit log as an event record.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "7d123481-0431-4256-80eb-0a7c3caa4642",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=be3c4d5d-8d7f-4043-9236-339f7725edd7/environment=env-kyj06/cloud-cluster=lkc-q8d82d/connector=lcc-ygpg3k",
"time": "2021-10-21T01:50:24.942723289Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "PauseConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "be3c4d5d-8d7f-4043-9236-339f7725edd7"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-kyj06w"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-q8d82d"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-ygpg3k"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4v80d0"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"02db11451fb220ccf184dc19d1815e6b"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "DatagenConnector-1634780844"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=906db5a6-ecad-4ecf-8a8d-663559f1f0d4/environment=env-82kz3r/cloud-cluster=cd5c2dba-8d58-4284-affa-5f597240d39b"
}
}
ResumeConnector¶
The ResumeConnector
event method is triggered by a request to resume a
connector and sends an event message that is saved in the audit log as an
event record.
Examples¶
SUCCESS
{
"specversion": "1.0",
"id": "afe311ad-3fc8-4085-abe6-d507427d6e80",
"source": "crn://confluent.cloud/",
"type": "io.confluent.cloud/request",
"datacontenttype": "application/json",
"subject": "crn://confluent.cloud/organization=3bd538c6-caa8-42ec-b60b-00bbf2e749f1/environment=env-abc123/cloud-cluster=lkc-rrrnk7/connector=lcc-gkdn7n",
"time": "2021-10-20T21:41:22.01312414Z",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "ResumeConnector",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "3bd538c6-caa8-42ec-b60b-00bbf2e749f1"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
},
{
"type": "CLOUD_CLUSTER",
"resourceId": "lkc-rrrnk7"
}
]
},
"resource": {
"type": "CONNECTOR",
"resourceId": "lcc-gkdn7n"
}
}
],
"authenticationInfo": {
"principal": {
"email": "someone@example.com",
"confluentUser": {
"resourceId": "u-4rxom7"
}
},
"result": "SUCCESS"
},
"requestMetadata": {
"requestId": [
"961d6482b9cbef069564b31e55356488"
],
"clientAddress": [
{
"ip": "1.2.3.4"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "control-plane"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=906db5a6-ecad-4ecf-8a8d-663559f1f0d4/environment=env-82kz3r/cloud-cluster=cd5c2dba-8d58-4284-affa-5f597240d39b"
}
}