Skip to main content
Version: Next

Model Config

CollectorModelConfig​

FieldTypeDescription
modelIdstrUnique key. Auto-generated.
modelNamestrModel name. Use different model names based on different modules.
rawTopicCodestrCorresponding raw topic.
isParalleledboolIs it capable of parallel processing
tenantIdstrTenant id. Auto-generated by system when created.
createdAtdatetimeAudit column. Auto-generated.
createdBystrAudit column. Auto-generated.
lastModifiedAtdatetimeAudit column. Auto-generated.
lastModifiedBystrAudit column. Auto-generated.
versionintOptimistic locking. Auto-generated.

API​

APIDescriptionMethodRequestResponse
/collector/model/configcreate model configurationPOSTCollectorModelConfigCollectorModelConfig

For Example:​

Create model config:​

request:

{
"modelName": "party",
"rawTopicCode": "raw_party",
"isParalleled": true
}

response:

{   
"modelId": "1076933828268189696",
"modelName": "party",
"rawTopicCode": "raw_party",
"isParalleled": true,
"tenantId": "1",
"createdAt": "2023-02-19T18:30:33",
"createdBy": "2",
"lastModifiedAt": "2023-02-19T18:30:33",
"lastModifiedBy": "2",
"version": 1
}