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/06 17:13:00 UTC
[jira] [Updated] (CAMEL-18795) camel-kafka: consumer not being closed during shutdown
[ https://issues.apache.org/jira/browse/CAMEL-18795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske updated CAMEL-18795:
-----------------------------------------
Fix Version/s: 3.18.5
3.20.0
> 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.18.4, 3.19.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 3.18.5, 3.20.0
>
>
> 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)