You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/11/18 03:41:39 UTC
[GitHub] [rocketmq-connect] odbozhou commented on issue #383: support failed task after connector restart
odbozhou commented on issue #383:
URL: https://github.com/apache/rocketmq-connect/issues/383#issuecomment-1319503729
当前Connector只支持创建,停止,pause/resume,不支持Connector的重启更不支持Task的重启
如果Connector出问题或者某一个task出问题时,只能对connector stop然后重新创建,无法对connector直接restart,更不能对制定的task做重启操作
所以希望新增一下能力
POST /connectors/{connectorName}/restart 重启connector
POST /connectors/{connectorName}/tasks/{taskNum}/restart 重启指定的task
可以先看下runtime中,connector pause/resume的实现
整体的处理流程是是类似的,主要区别是restart是对connector或者task 先等待全部stop再start
等待全部stop和start基本已经实现
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org