v1

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

Save stream source

post/inlong/manager/api/source/save

Request body

agentIpstring

Ip of the agent running the task

dataNodeNamestring

Data node name

idinteger

Primary key

inlongClusterNamestring

Inlong cluster name

inlongClusterNodeGroupstring

Inlong cluster node label for filtering stream source collect task

inlongGroupIdstring

Inlong group id

inlongStreamIdstring

Inlong stream id

propertiesobject

Other properties if needed

serializationTypestring

Serialization type, support: csv, json, canal, avro, etc

snapshotstring

Snapshot of the source task

sourceNamestring

Source name, unique in one stream

sourceTypestring

Source type, including: FILE, KAFKA, etc.

uuidstring

Mac uuid of the agent running the task

versioninteger

Version

Response

OK