v1

latestOpenAPI 3.0.12026-07-26245126202.6 KB
Table

Force commit the current consuming segments

Force commit the current segments in consuming state and restart consumption. This should be used after schema/table config changes. Please note that this is an asynchronous operation, and 200 response does not mean it has actually been done already.If specific partitions or consuming segments are provided, only those partitions or consuming segments will be force committed.

post/tables/{tableName}/forceCommit

Path parameters

tableNamestring required

Name of the table

Query parameters

partitionsstring

Comma separated list of partition group IDs to be committed

segmentsstring

Comma separated list of consuming segments to be committed

batchSizeinteger

Max number of consuming segments to commit at once (default = Integer.MAX_VALUE)

batchStatusCheckIntervalSecinteger

How often to check whether the current batch of segments have been successfully committed or not (default = 5)

batchStatusCheckTimeoutSecinteger

Timeout based on which the controller will stop checking the forceCommit status of the batch of segments and throw an exception. (default = 180)

Response

successful operation

object required