Kafka source connect poll method called by multiple threads

百般思念 提交于 2019-12-24 06:34:14

问题


I have written a file source connect, I tried starting it in standalone and as well as distributed mode.. I notice sometimes the poll method is called by multiple threads. I understand if we create a task - that will be assigned to a worker which assigns a single thread and poll method is called by only this thread. But in my case it is behaving differently. Can somebody please explain me under what circumstances a source task is executed by multiple threads concurrently. This is creating issue for my implementation

Thanks in advance.

来源:https://stackoverflow.com/questions/44402263/kafka-source-connect-poll-method-called-by-multiple-threads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!