v1

latestOpenAPI 3.0.12026-07-26245126202.6 KB
Restream

Restream data from a stream to a new table. Then replace the table

Restream a table

post/tables/{tableName}/restream

Path parameters

tableNamestring required

Name of the table with type to restream

Query parameters

destTableNameWithTypestring required

Name of the destination table with type

destTenantstring required

Name of the tenant of the destination table

destBrokerTenantstring

Name of the tenant of the destination table

debugPauseboolean

Pause at start

maxTableStreamLaginteger

Max TableStream Lag

maxRebalanceTimeMininteger

Max Rebalance Time (Mins)

Response

successful operation

timeElapsedSinceStartInSecondsinteger
jobIdstring
stage'INIT' | 'TABLE_STREAM' | 'FORCE_COMMIT' | 'REBALANCE' | 'DONE' | 'FAILED' | 'CANCELLED'
verboseTableStreamLagobject
segmentsToBeCommittedstring[]

Example response

{
  "restreamConfig": {
    "destTableNameWithType": "newTableName_REALTIME",
    "maxRebalanceTimeMin": 120,
    "destServerTenant": "restreamTenant",
    "destBrokerTenant": "restreamTenant",
    "maxTableStreamLag": 5000,
    "tableNameWithType": "tableName_REALTIME"
  }
}