camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Kripalani (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-8923) Kafka: Topic name lookup from message headers in the producer causes infinite loop
Date Wed, 02 Sep 2015 22:25:46 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728141#comment-14728141
] 

Raúl Kripalani edited comment on CAMEL-8923 at 9/2/15 10:25 PM:
----------------------------------------------------------------

Backported to 2.15.4.


was (Author: raulvk):
Backported to 2.15.3.

> Kafka: Topic name lookup from message headers in the producer causes infinite loop
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-8923
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8923
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>    Affects Versions: 2.15.1
>            Reporter: RAHUL JAIN
>            Assignee: Willem Jiang
>             Fix For: 2.16.0, 2.15.4
>
>
> Refer changes done for CAMEL-7331
> The change causes a critical bug.
> For a camel route as follows:
> {code}
> from("kafka://<broker>?topic=T1")
> .process(myProcessor)
> .to("kafka://<broker>?topic=T2")
> {code}
> KafkaExchange will be created by KafkaConsumer and the topic will be set to "T1" in the
header.
> For the 'to' endpoint, KafkaProducer will try to read the topic from the exchange header
which is still "T1" instead of "T2" thereby causing an infinite loop.
> As discussed in user-group, a different header should be used to read the topic name
from message. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message