You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/12/05 13:51:00 UTC
[jira] [Created] (CAMEL-18795) camel-kafka: consumer not being closed during shutdown
Otavio Rodolfo Piske created CAMEL-18795:
--------------------------------------------
Summary: camel-kafka: consumer not being closed during shutdown
Key: CAMEL-18795
URL: https://issues.apache.org/jira/browse/CAMEL-18795
Project: Camel
Issue Type: Bug
Components: camel-kafka
Affects Versions: 3.19.0, 3.18.4
Reporter: Otavio Rodolfo Piske
Assignee: Otavio Rodolfo Piske
Quoting a user report on the chat:
"I have faced with the issue that org.apache.kafka.clients.consumer.Consumer is never closed during an app shutdown, I use camel 3.18.3.
It looks that it might happened after these [changes|https://github.com/apache/camel/pull/8095/files]. I don't have this issue on camel 3.18.0
Maybe it's expected that consumer should be closed [here|https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaFetchRecords.java#L374], but it looks that default pollExceptionStrategies don't return false from canContinue during an app shutdown. "
This is caused as unintended side-effect of CAMEL-17947.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)