RESUME ROUTINE LOAD
Descriptionβ
This syntax is used to restart one or all paused Routine Load jobs. The restarted job will continue consuming from the previously consumed offset.
Syntaxβ
RESUME [ALL] ROUTINE LOAD FOR <job_name>
Required Parametersβ
1. <job_name>
Specifies the name of the job to restart. If ALL is specified, job_name is not required.
Optional Parametersβ
1. [ALL]
Optional parameter. If ALL is specified, it indicates restarting all paused routine load jobs.
Access Control Requirementsβ
Users executing this SQL command must have at least the following privileges:
Privilege | Object | Notes |
---|---|---|
LOAD_PRIV | Table | SHOW ROUTINE LOAD requires LOAD privilege on the table |
Notesβ
- Only jobs in PAUSED state can be restarted
- Restarted jobs will continue consuming data from the last consumed position
- If a job has been paused for too long, the restart may fail due to expired Kafka data
Examplesβ
-
Restart a routine load job named test1.
RESUME ROUTINE LOAD FOR test1;
-
Restart all routine load jobs.
RESUME ALL ROUTINE LOAD;