停止kafka连接器 [英] Stop the kafka connector

查看:39
本文介绍了停止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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆