Assigned
Status Update
Comments
va...@google.com <va...@google.com>
pu...@google.com <pu...@google.com> #2
Hello,
Thank you for reaching out to us with your request.
We have duly noted your feedback and will thoroughly validate it. While we cannot provide an estimated time of implementation or guarantee the fulfillment of the issue, please be assured that your input is highly valued. Your feedback enables us to enhance our products and services.
We appreciate your continued trust and support in improving our Google Cloud Platform products. In case you want to report a new issue, please do not hesitate to create a new issue on the
Once again, we sincerely appreciate your valuable feedback; Thank you for your understanding and collaboration.
Description
The problem
When using Outbox pattern to send messages to Pub/Sub - message could be sent more than once (in case of db failure). Every message then generates unique
messageId
creating duplicated messages on consumer side. And implementing custom deduplication mechanism for every consumer is not an option.Feature request
To be able to publish messages with specified
messageId
(unique UUID) so that Pub/Sub can detect duplicates and feature 'Exactly once delivery' will work much better.messageId
is already there, we just need a possibility to set it on the Publisher.PublishMessage() side.How this might work
Pub/Sub can use
messageId
to deduplicate messages and consider every other message with samemessageId
as the same one (duplicate) and just ignore it.Alternative solutions
Other information