davsclaus commented on issue #1931: URL: https://github.com/apache/camel-kamelets/issues/1931#issuecomment-7066963840
Taking this over, as agreed with Claus. #3325 does it the light way, for all four event-based sources: each one sets a header that is the same in every copy of an event (`aws-s3-event-id`, `azure-storage-blob-event-id`, `google-storage-event-id`, and the existing `ceph-event-id`). A route skips the copies with an `idempotentConsumer` step on that header, with the repository it chooses. The Kamelets do not keep an in-memory list themselves, because it would only work within one replica and until a restart. For S3, the key is the event type, bucket, key and `sequencer`, not the SQS message ID or the EventBridge `id`, because a copy of an event can come with new ones. The PR description gives the reasons for each service. _Claude Code on behalf of Claus Ibsen_ -- 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]
