You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/05/13 14:10:09 UTC
[camel] branch master updated: CAMEL-15055 Exception is missed
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 7ebefde CAMEL-15055 Exception is missed
7ebefde is described below
commit 7ebefde9d0ba0d3f7094c077dc7d6f800418fbd9
Author: Oleksandr Dmytrov <ad...@playtika.com>
AuthorDate: Wed May 13 12:19:15 2020 +0300
CAMEL-15055 Exception is missed
---
.../src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java
index 5bad75b..6294d82 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java
@@ -355,7 +355,7 @@ public class KafkaConsumer extends DefaultConsumer {
// we are failing and we should break
// out
LOG.warn("Error during processing {} from topic: {}. Will seek consumer to offset: {} and re-connect and start polling again.", exchange,
- topicName, partitionLastOffset);
+ topicName, partitionLastOffset, exchange.getException());
// force commit so we resume on next
// poll where we failed
commitOffset(offsetRepository, partition, partitionLastOffset, true);