Vladimir Dobos created CAMEL-16857:
--------------------------------------
Summary: breakOnFirstError causes thread and memory leaks
Key: CAMEL-16857
URL: https://issues.apache.org/jira/browse/CAMEL-16857
Project: Camel
Issue Type: Bug
Components: camel-kafka
Affects Versions: 3.11.1
Reporter: Vladimir Dobos
Attachments: VisualVM_leak.png, VisualVM_leak_threads.png
When breakOnfirstError is enabled in camel-kafka, there is visible thread leak
(one hung heartbeat thread per kafka client restart/route retry) in underlying
kafka client, accompanied by small memory leak, for extreme example - see
attached VisualVM screenshots).
Example application used for screenshot can be found in
"https://github.com/vdobos-tr/camel-kafka-on-error-leak".
We are relatively new to kafka so im unable to determine, if its issue with
underlying kafka client, or problem with the way camel handles reconnect after
error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)