停止kafka连接器 [英] Stop the kafka connector
本文介绍了停止kafka连接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在kafka connect SinkTask
实现中,如果有不可避免的异常,如果我从代码中调用stop()
方法,连接器是否会完全停止?
In kafka connect SinkTask
implementation, If there is an exception which is unavoidable, if I invoke stop()
method from my code, does the connector stop altogether ?
推荐答案
只有遇到异常的任务才会停止
Only that task that encountered the exception will stop
连接集群可以有多个不会停止的连接器,并且根据您的配置,单个连接可能还有其他任务,例如,将为其分配不同的,干净的,可以处理的数据
The connect cluster can have multiple connectors which won't stop, and there can be other tasks for a single connect depending on your configurations that, for example, would be assigned different, clean, data that could be processed
这篇关于停止kafka连接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文