v1

latestSwagger 2.0raw.githubusercontent.com2023-09-25238236509.6 KB
Inlong-Stream-API

Save inlong stream

post/inlong/manager/api/stream/save

Request body

dailyRecordsinteger

Number of access items per day, unit: 10,000 items per day

dailyStorageinteger

Access size per day, unit: GB per day

dataEncodingstring

Data encoding format: UTF-8, GBK

dataEscapeCharstring

Data field escape symbol

dataSeparatorstring

Data separator

dataTypestring

Data type, including: TEXT, KV, etc.

descriptionstring

Inlong stream description

extParamsstring

Extended params, will be saved as JSON string

idinteger

Primary key

ignoreParseErrorboolean

Whether to ignore the parse errors of field value

inlongGroupIdstring

Inlong group id

inlongStreamIdstring

Inlong stream id

maxLengthinteger

The maximum length of a single piece of data, unit: Byte

mqResourcestring

MQ resource

namestring required

Inlong stream name

peakRecordsinteger

peak access per second, unit: bars per second

storagePeriodinteger

Data storage period, unit: day

syncSendinteger

Whether to send synchronously, 0: no, 1: yes

versioninteger

Version number

wrapWithInlongMsgboolean

Whether the message body wrapped with InlongMsg

Response

OK