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

Claus Ibsen reassigned CAMEL-12110:
-----------------------------------

    Assignee: Claus Ibsen

> KafkaConsumer swallows exceptions from 
> org.apache.kafka.clients.consumer.KafkaConsumer constructor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-12110
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12110
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>    Affects Versions: 2.20.0
>            Reporter: Alex Soto
>            Assignee: Claus Ibsen
>             Fix For: 2.20.2, 2.21.0
>
>
> When an exception is thrown by the 
> _org.apache.kafka.clients.consumer.KafkaConsumer_ constructor when 
> instantiated by the _KafkaConsumer_ inner class _KafkaFetchRecords_, the 
> exception is not logged, nor propagated.  This can happen, for example, if 
> the key or the value deserializer class names are incorrect, or the class is 
> not found by the class loader.
> I would expect the exception here should cause the endpoint to fail 
> initializing, or at a minimum, the exception should be logged.   The fact 
> that nothing is logged and the route is started without any apparent error, 
> is misleading and very hard to troubleshoot.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to