调用 DescribeTransmissionTaskInfo 接口查看传输任务详情。
同步请求。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
TaskId | String | 是 | 4ddec6d036384248a25862fb******** | 任务 ID。 说明 您可以调用 DescribeTransmissionTasks 接口查询任务 ID。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
TaskInfo |
| 任务的详细信息。详细信息,请参见 TaskInfo。 |
POST /?Action=DescribeTransmissionTaskInfo&Version=2022-10-01 HTTP/1.1 Content-Type: application/json Host:dts.volcengineapi.com X-Date: 20221001T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20221001/cn-beijing/dts/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645**** { "TaskId": "c37008625ddd44019ee85b84fb*****" }
{ "ResponseMetadata": { "RequestId": "20230320101845AB32F20DFC215A10B4A9", "Action": "DescribeTransmissionTaskInfo", "Version": "2022-10-01", "Service": "dts", "Region": "cn-beijing" }, "Result": { "TaskInfo": { "ChargeDetail": { "ChargeStatus": "Init", "ChargeType": "PostPaid", "OrderNo": "" }, "CreateTime": 1661242976288, "DestConfig": { "DataSourceId": "322", "EndpointType": "Volc_Kafka", "VolcKafkaSettings": { "AuthType": "PLAIN", "InstanceId": "kafka-cnngfsm7gl******", "InstanceName": "", "Password": "******", "RegionSettings": { "Region": "" }, "Topic": "hua", "Username": "kakatest****" } }, "EnableCloudMonitor": true, "EndTime": 0, "ProjectName": "default", "SolutionSettings": { "PG2KafkaSettings": { "ErrorBehaviorSettings": { "MaxRetrySeconds": 7200 }, "FullTransmissionSettings": { "EnableFull": false }, "IncrTransmissionSettings": { "EnableIncr": true, "Statements": [ "StmtDMLInsert", "StmtDMLUpdate", "StmtDMLDelete", "StmtDDLAll" ] }, "MetaTransmissionSettings": { "EnableMeta": false }, "ObjectMappings": [ { "DestObjName": "public", "MappingList": [ { "DestObjName": "*", "ObjectType": "Table", "SrcObjName": "*" } ], "ObjectType": "Database", "SrcObjName": "public" } ], "SubscriptionSettings": { "PartitionPolicy": "P0", "Protocol": "Volc", "VPCId": "vpc-bp1opxu1zkhn00gz****", "VPCSubnetId": "" } }, "SolutionType": "PG2Kafka" }, "SrcConfig": { "DataSourceId": "321", "EndpointType": "Volc_PostgreSQL", "VolcPostgreSQLSettings": { "DBInstanceId": "postgres-338f4f3ad26a", "DBInstanceName": "", "DBName": "test****zaizai", "Password": "******", "RegionSettings": { "Region": "cn-beijing" }, "Username": "test****zaizai" } }, "StartTime": 1661242976288, "TaskId": "c37008625ddd44019ee85b84fb******", "TaskName": "test****zaizai", "TaskStatus": "Init", "TaskSubType": "Default", "TaskType": "DataSubscription", "TenantId": "2100157781", "TrafficSpec": "Compact" } } }
更多详情,请参见错误码。