Skip to main content
Version: Current 16.5-prerelease 🎯

Rerun Command

The command is "rerun", re-trigger the pipeline of the topic with raw data.

    def rerun(host: Optional[str],
path: Optional[str],
username: Optional[str] = None,
password: Optional[str] = None,
pat: Optional[str] = None)
ParameterTypeDescription
hoststrThe host fo the watchmen application.
pathstrThe path of rerun config file.
usernamestrthe username of the watchmen application. if pat exist, no need.
passwordstrthe password of the watchmen application. if pat exist, no need.
patstrthe person access token of the watchmen application. if username and password exist, no need.

Rerun Config File

The config file of rerun command is a json file, like:

{
"data":[
{"topicId":"980793847406064640", "pipelineId":"980793868289504256", "dataId":"980806528930525184"},
{"topicId":"980793847406064641", "pipelineId":"980793868289504257", "dataId":"980806528930525185"}
]
}
python ./src/cli.py rerun --path='/app/config' --host='http://localhost:8000' --username='watchmen-user' --password='change-me'