You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "Ben Hutcheson (Jira)" <ji...@apache.org> on 2020/11/02 12:59:00 UTC
[jira] [Created] (PLC4X-255) Kafka - Source Task doesn't block
within poll()
Ben Hutcheson created PLC4X-255:
-----------------------------------
Summary: Kafka - Source Task doesn't block within poll()
Key: PLC4X-255
URL: https://issues.apache.org/jira/browse/PLC4X-255
Project: Apache PLC4X
Issue Type: Bug
Components: Integration-Kafka-Connect
Affects Versions: 0.8.0
Reporter: Ben Hutcheson
The Kafka source connector causes high CPU usage when running.
Looking at the Kafka SourceTask api, the poll function should block if no data is available and return occasionally. At the moment it returns straight away.
I'm assuming this is causing the poll task to be continuously called resulting in high CPU usage.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)