SymetryML Documentation
Streams

Start stream

Resume the background consumer task for a `kafka`/`nats` Data Source that was previously stopped (via [Stop stream](/docs/api-reference/streams/projects-project-streams-dsname-stop-get)) or never started, without recreating the Data Source itself.

GET
/{user}/projects/{project}/streams/{dsName}/start

Resume the background consumer task for a kafka/nats Data Source that was previously stopped (via Stop stream) or never started, without recreating the Data Source itself.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

project*string

Project identifier

dsName*string

Data source name

Query Parameters

fromBeginning?boolean

Kafka only: consume the topic from its earliest offset instead of only new records.

Defaultfalse

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/c1/projects/nbra_prj_iris/streams/nbra_ds_sftp_iris/start"
{  "statusCode": 200,  "statusString": "DS Stream started kafka stream with name [kafka_stream_0] for customer [c1]",  "values": {}}
{  "statusCode": 400,  "statusString": "Customer[c1] does not have project with id[nosuchprj], ",  "values": {}}
{  "statusCode": 500,  "statusString": "Generic Exception [java.lang.Exception: Stream [kafka_stream_0] is already running]",  "values": {}}