SymetryML Documentation
Tasks

Start task

Launch the Task's background process (a `sym-kafkastream-app` child JVM, for the only known type `kafkastream-app`). Calling this again for a Task that is already running launches a **second** process and replaces the tracked handle for this name — the first process is not terminated and becomes untracked (it can then only be stopped by killing it outside the API). There is no guard against starting the same Task twice.

GET
/{user}/tasks/{taskid}/start

Launch the Task's background process (a sym-kafkastream-app child JVM, for the only known type kafkastream-app).

Calling this again for a Task that is already running launches a second process and replaces the tracked handle for this name — the first process is not terminated and becomes untracked (it can then only be stopped by killing it outside the API). There is no guard against starting the same Task twice.

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

taskid*string

Task name (used as its identifier)

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/c1/tasks/kstream_task_0/start"
{  "statusCode": 200,  "statusString": "OK",  "values": {}}
{  "statusCode": 400,  "statusString": "Customer [c1] has no Task [nosuchtask]",  "values": {}}

{  "statusCode": 500,  "statusString": "Generic Exception [java.lang.Exception: Maximum number of task (4) already reached]",  "values": {}}