Skip to content

Use application headers in Kafka router integration tests - #3113

Merged
oscerd merged 1 commit into
apache:mainfrom
Croway:quick-fix/kafka-router-application-headers
Oct 23, 2026
Merged

oscerd merged 1 commit into
apache:mainfrom
Croway:quick-fix/kafka-router-application-headers

Conversation

@Croway

@Croway Croway commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

The HTTP-to-Kafka router integration fixture still uses the legacy Camel Kafka names kafka.TOPIC and kafka.TIMESTAMP as application headers and explicitly configures TimestampRouter to read them.

Rename those HTTP query parameters to topic and timestamp, keeping the router configuration in sync. TimestampRouter continues to write the current CamelKafkaOverrideTopic header. Using application header names at the HTTP boundary avoids confusion with Camel-internal headers, which transport header filters exclude.

This is fixture cleanup following a review of the Camel 4.19–4.22.1 header renames. Salesforce is already corrected on main. The corresponding 4.22.x cleanup and packaged Salesforce synchronization are in #3112.

Validation:

  • Full mvn verify passed; 20 catalog unit tests passed.
  • mvn verify -pl :camel-kamelets-itest -Denable.integration.tests -Dit.test=KafkaIT passed all 3 tests, including the HTTP-to-Kafka timestamp router.
  • git diff --check passed.

AI-generated by Codex on behalf of Federico Mariani.

@oscerd
oscerd merged commit c81faf7 into apache:main Oct 23, 2026
5 checks passed
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.

3 participants