|
@@ -69,7 +69,7 @@ class ApplicationCDCMonitor:
|
|
'--sink-uri="mysql://data:hcst@2021@139.186.27.96:3390" --config ../conf/{task_id}.toml '
|
|
'--sink-uri="mysql://data:hcst@2021@139.186.27.96:3390" --config ../conf/{task_id}.toml '
|
|
'--changefeed-id={task_id} '.format(task_id=task_id))
|
|
'--changefeed-id={task_id} '.format(task_id=task_id))
|
|
else:
|
|
else:
|
|
- if back['error'] is not None:
|
|
|
|
|
|
+ if back['error_msg'] is not None:
|
|
requests.delete(url='http://{}:{}{}/{}'.format(self.cdc_url, self.cdc_port,
|
|
requests.delete(url='http://{}:{}{}/{}'.format(self.cdc_url, self.cdc_port,
|
|
self.cdc_changefeeds_url, task_id))
|
|
self.cdc_changefeeds_url, task_id))
|
|
os.system(
|
|
os.system(
|