[ 
https://issues.apache.org/jira/browse/CAMEL-18795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Otavio Rodolfo Piske resolved CAMEL-18795.
------------------------------------------
    Regression: Regression
    Resolution: Fixed

> 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)

Reply via email to