[
https://issues.apache.org/jira/browse/PLC4X-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Hutcheson closed PLC4X-255.
-------------------------------
Resolution: Fixed
Poll() now blocks and returns control to Kafka occasionally to handle
maintenance.
> 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
> Priority: Minor
> Labels: kafka-connect
>
> 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)