...
API | placeContainer |
Description | Active Container: Stop Stops container process on source-host and starts it for
StandBy Container: Stop Stops container process on source-host and starts it on:
|
Parameters | uuid: unique identifier of a request, populated by the client applicationId: unique identifier of the deployed app for which the action is taken processor-id: Samza resource id of container e.g 0, 1, 2 destination-host: valid hostname / “ANY_HOST” / “STANDBY” request-expiry-timeout: [optional]: timeout for any resource request to the cluster manager |
Status code | CREATED, BAD_REQUEST, ACCEPTED, IN_PROGRESS, SUCCEEDED, FAILED |
Returns | Since this is an ASYNC API nothing is returned, the status of the request can be queried by processorId |
Failure Scenarios | There are following cases under which a request to place container might fail:
|
...