davidzollo commented on issue #10316:
URL: https://github.com/apache/seatunnel/issues/10316#issuecomment-3733814386

   Hi,
   
   This feature is already supported. You can use the `--set-job-id` parameter 
to specify a custom Job ID when submitting a job.
   
   For example:
   ```bash
   sh bin/seatunnel.sh -c config/v2.batch.config.template --set-job-id 123456
   ```
   
   Please note that `jobId` currently only supports **Long** type (integers). 
If you want to generate a unique ID based on the Job Name (e.g., using a hash), 
you need to process it in your script to ensure the result is a valid number.
   
   When the job fails and you need to restore it from the previous state 
(Checkpoints), you can use the `-r` (or `--restore`) parameter with that known 
Job ID:
   
   ```bash
   sh bin/seatunnel.sh -c config/v2.batch.config.template -r 123456
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to