mcarlett opened a new pull request, #2875:
URL: https://github.com/apache/camel-kamelets/pull/2875
## Summary
CAMEL-23584 renamed all camel-kafka Exchange header constants from `kafka.*`
to `CamelKafka*` prefix, but two kamelet YAML definitions were not updated,
causing silent failures:
- **topic-name-matches-filter-action**: `${header[kafka.TOPIC]}` is always
null → filter drops all messages
- **timestamp-router-action**: `timestampHeaderName` defaults to
`kafka.TIMESTAMP` (null) → timestamp never read → override topic never set
## Changes
- `topic-name-matches-filter-action.kamelet.yaml`: `${header[kafka.TOPIC]}`
→ `${header[CamelKafkaTopic]}`
- `timestamp-router-action.kamelet.yaml`: `timestampHeaderName` default
`kafka.TIMESTAMP` → `CamelKafkaTimestamp`
Both in `kamelets/` and
`library/camel-kamelets/src/main/resources/kamelets/`.
## Test plan
- [ ] Run TopicNameMatchesFilterActionKameletITCase — should now receive
filtered messages on output topic
- [ ] Run TimestampRouterActionKameletITCase — should now route messages to
timestamp-formatted topic
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]