You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/07/23 12:05:00 UTC

[jira] [Commented] (CAMEL-20428) Kafka Batch Consumer: Some common headers in the batch exchanges should be copied also to the original exchange

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

Andrea Cosentino commented on CAMEL-20428:
------------------------------------------

Fixed via https://github.com/apache/camel/pull/25006 (merged, 4.22.0): the batch exchange now carries CamelKafkaTopic and CamelKafkaPartition when every record in the batch agrees on the value.

_Claude Code on behalf of Andrea Cosentino (@oscerd)._

> Kafka Batch Consumer: Some common headers in the batch exchanges should be copied also to the original exchange 
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20428
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20428
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 4.22.0
>
>
> In this way we could for example bring the kafka.TOPIC header value from the batch exchange and store it as variable, before splitting and re-use it in the logic after the split.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)