[
https://issues.apache.org/jira/browse/CAMEL-27298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27298.
---------------------------------
Resolution: Fixed
> camel-kafka - the consumer stops reading without logging an error when the
> value deserializer fails with an Error
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27298
> URL: https://issues.apache.org/jira/browse/CAMEL-27298
> Project: Camel
> Issue Type: Bug
> Components: camel-kafka
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> When the Apicurio protobuf deserializer cannot load its generated classes
> (see the protobuf runtime version mismatch in the linked issue), the Kafka
> consumer of camel-kafka stops reading records, and nothing is logged at WARN
> or ERROR. The route stays started, so the problem looks like an empty topic.
> The deserializer fails while a class is initialised, so the failure probably
> reaches the poll loop of the consumer as an {{Error}} (such as
> {{ExceptionInInitializerError}} or {{NoClassDefFoundError}}) and not an
> {{Exception}}, which the loop does not handle or log.
> Expected: a failure in the consumer thread, including an {{Error}}, is
> logged, and the consumer either retries according to its poll error strategy
> or is visibly stopped (health check down).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)