Skip to main content

DataJob Specification

Interface Overview

Gets a list of data task specifications to select when creating a task.

Interface Address

/cloudcanal/console/api/v1/openapi/constant/listspecs

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
dataJobTypeData job type

MIGRATION
SYNC
CHECK (Data verification)
REVISE
STRUCT_MIGRATION
BodyTrueString
initialSyncWhether to perform data initialization when dataJobType is SYNCBodyFalseBoolean
shortTermSyncWhether to perform limited-time incremental data synchronization when dataJobType is MIGRATIONBodyFalseBoolean

Public Response Results

ParameterNameParameter DescriptionType(Java)NotNull
code1: Success
0: Failure
StringTrue
dataObjectTrue
msgStringTrue
requestIdStringTrue

Data Parameters

The data is an array, and array elements are specification entities

ParameterNameParameter DescriptionType(Java)NotNull
idSpecification IDStringTrue
specKindSpecification seriesStringTrue
specKindCnSpecification name in ChineseStringTrue
specSpecificationStringTrue
descriptionSpecification descriptionStringTrue
fullMemoryMbFull memory usage (MB)IntegerTrue
increMemoryMbIncremental memory usage (MB)IntegerTrue
checkMemoryMbVerification memory usage (MB)IntegerTrue

Response Example

{
"taskId": 0,
"code": "1",
"msg": "request success",
"data": [
{
"id": 1,
"specKind": "IncreEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.increenhance.large.full.xlarge.incre",
"description": "1 KB/record , record count < 20 m, incre tps < 1k",
"fullMemoryMb": 1024,
"increMemoryMb": 2048,
"checkMemoryMb": 1024
},
{
"id": 2,
"specKind": "IncreEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.increenhance.large.full.2xlarge.incre",
"description": "1 KB/record , record count < 20 m, incre tps < 2k",
"fullMemoryMb": 1024,
"increMemoryMb": 3072,
"checkMemoryMb": 1024
},
{
"id": 3,
"specKind": "IncreEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.increenhance.large.full.3xlarge.incre",
"description": "1 KB/record , record count < 20 m, incre tps < 10k",
"fullMemoryMb": 1024,
"increMemoryMb": 4096,
"checkMemoryMb": 1024
},
{
"id": 4,
"specKind": "IncreEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.increenhance.xlarge.full.2xlarge.incre",
"description": "1 KB/record , record count < 200 m, incre tps < 2k",
"fullMemoryMb": 2048,
"increMemoryMb": 3072,
"checkMemoryMb": 2048
},
{
"id": 5,
"specKind": "IncreEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.increenhance.xlarge.full.3xlarge.incre",
"description": "1 KB/record , record count < 200 m, incre tps < 10k",
"fullMemoryMb": 2048,
"increMemoryMb": 4096,
"checkMemoryMb": 2048
},
{
"id": 6,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.large.full.small.incre",
"description": "1 KB/record , record count < 20 m, incre tps < 0.2k",
"fullMemoryMb": 1024,
"increMemoryMb": 512,
"checkMemoryMb": 1024
},
{
"id": 7,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.xlarge.full.small.incre",
"description": "1 KB/record , record count < 200 m, incre tps < 0.2k",
"fullMemoryMb": 2048,
"increMemoryMb": 512,
"checkMemoryMb": 2048
},
{
"id": 8,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.2xlarge.full.small.incre",
"description": "1 KB/record , record count < 500 m, incre tps < 0.2k",
"fullMemoryMb": 3072,
"increMemoryMb": 512,
"checkMemoryMb": 3072
},
{
"id": 9,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.3xlarge.full.small.incre",
"description": "1 KB/record , record count < 2 b, incre tps < 0.2k",
"fullMemoryMb": 4096,
"increMemoryMb": 512,
"checkMemoryMb": 4096
},
{
"id": 10,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.xlarge.full.large.incre",
"description": "1 KB/record , record count < 200 m, incre tps < 0.5k",
"fullMemoryMb": 2048,
"increMemoryMb": 1024,
"checkMemoryMb": 2048
},
{
"id": 11,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.2xlarge.full.large.incre",
"description": "1 KB/record , record count < 500 m, incre tps < 0.5k",
"fullMemoryMb": 3072,
"increMemoryMb": 1024,
"checkMemoryMb": 3072
},
{
"id": 12,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.3xlarge.full.large.incre",
"description": "1 KB/record , record count < 2 b, incre tps < 0.5k",
"fullMemoryMb": 4096,
"increMemoryMb": 1024,
"checkMemoryMb": 4096
},
{
"id": 13,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.2xlarge.full.xlarge.incre",
"description": "1 KB/record , record count < 500 m, incre tps < 1k",
"fullMemoryMb": 3072,
"increMemoryMb": 2048,
"checkMemoryMb": 3072
},
{
"id": 14,
"specKind": "FullEnhance",
"specKindCn": "Incremental enhancement",
"spec": "cloudcanal.fullenhance.3xlarge.full.xlarge.incre",
"description": "1 KB/record , record count < 2 b, incre tps < 1k",
"fullMemoryMb": 4096,
"increMemoryMb": 2048,
"checkMemoryMb": 4096
},
{
"id": 15,
"specKind": "Balance",
"specKindCn": "Balanced type",
"spec": "cloudcanal.balance.large.full.large.incre",
"description": "1 KB/record , record count < 20 m, incre tps < 0.5k",
"fullMemoryMb": 1024,
"increMemoryMb": 1024,
"checkMemoryMb": 1024
},
{
"id": 16,
"specKind": "Balance",
"specKindCn": "Balanced type",
"spec": "cloudcanal.balance.xlarge.full.xlarge.incre",
"description": "1 KB/record , record count < 200 m, incre tps < 1k",
"fullMemoryMb": 2048,
"increMemoryMb": 2048,
"checkMemoryMb": 2048
},
{
"id": 17,
"specKind": "Balance",
"specKindCn": "Balanced type",
"spec": "cloudcanal.balance.2xlarge.full.2xlarge.incre",
"description": "1 KB/record , record count < 500 m, incre tps < 2k",
"fullMemoryMb": 3072,
"increMemoryMb": 3072,
"checkMemoryMb": 3072
},
{
"id": 18,
"specKind": "Balance",
"specKindCn": "Balanced type",
"spec": "cloudcanal.balance.3xlarge.full.3xlarge.incre",
"description": "1 KB/record , record count < 2 b, incre tps < 10k",
"fullMemoryMb": 4096,
"increMemoryMb": 4096,
"checkMemoryMb": 4096
},
{
"id": 19,
"specKind": "Balance",
"specKindCn": "Balanced type",
"spec": "cloudcanal.balance.small.full.small.incre",
"description": "1 KB/record , record count < 10 m, incre tps < 0.2k",
"fullMemoryMb": 512,
"increMemoryMb": 512,
"checkMemoryMb": 512
}
]
}