oscerd commented on issue #1595: URL: https://github.com/apache/camel-kafka-connector/issues/1595#issuecomment-6632131121
Closing this as answered, with apologies that nobody replied at the time. The 0.11 `CamelAws2sqsSourceConnector` no longer exists; in 4.22.x the equivalent is `camel-aws-sqs-source-kafka-connector`, and the SQS consumer has to request the message attributes when it receives messages, which you can enable with the Camel component option `camel.component.aws2-sqs.messageAttributeNames` (a comma-separated list of names, or `All`). The consumer then sets each String or Number attribute as a Camel header, and the connector copies it into a Kafka record header named `CamelHeader.<attribute name>` (header mapping is on by default, `camel.map.headers=true`), so no custom transform is needed. If that does not work on 4.22.x, please open a new issue with your config; for further usage questions [email protected] and https://camel.zulipchat.com are the best places. --- _Claude Code on behalf of Andrea Cosentino_ -- 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]
