Skip to content

[backport 4.18.x] Fix Kafka SMT kamelets for CAMEL-23584 header rename#2876

Merged
oscerd merged 1 commit into
apache:4.18.xfrom
mcarlett:fix/kafka-header-rename-camel-23584-4.18.x
Jun 24, 2026
Merged

[backport 4.18.x] Fix Kafka SMT kamelets for CAMEL-23584 header rename#2876
oscerd merged 1 commit into
apache:4.18.xfrom
mcarlett:fix/kafka-header-rename-camel-23584-4.18.x

Conversation

@mcarlett

Copy link
Copy Markdown
Contributor

Backport of #2875 to 4.18.x.

CAMEL-23584 renamed all camel-kafka Exchange header constants from kafka.* to CamelKafka* prefix, but two kamelet YAML definitions were not updated:

  • topic-name-matches-filter-action.kamelet.yaml: ${header[kafka.TOPIC]}${header[CamelKafkaTopic]}
  • timestamp-router-action.kamelet.yaml: timestampHeaderName default kafka.TIMESTAMPCamelKafkaTimestamp

CAMEL-23584 renamed all camel-kafka Exchange header constants from
kafka.* to CamelKafka* prefix. Two kamelet YAML definitions still
used the old names, causing silent failures:

- topic-name-matches-filter-action: ${header[kafka.TOPIC]} -> ${header[CamelKafkaTopic]}
- timestamp-router-action: timestampHeaderName default kafka.TIMESTAMP -> CamelKafkaTimestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants