Introducing: Exactly-once support for Pub/Sub #714
marcuskohlberg
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've been hard at work for a little bit on this one, and it's finally here!
Now when you create a Pub/Sub topic, you can specify an exactly-once delivery guarantee:
This provides a much stronger guarantee, backed by the cloud infrastructure used to run your app, that a message published will not be delivered multiple times to your application's subscriptions if processed without an error.
For more information checkout the docs.
Remember to first update to the latest version of Encore using
encore version update
, and update your dependency onencore.dev
within your app so your IDE sees the new option usinggo get -u encore.dev@latest
.What's next for Pub/Sub
We plan to add support for ordered topics in the coming releases, which will allow you to process events in the order they were published based on a grouping key (e.g. user ID or order ID).
Full Changelog: v1.17.0...v1.18.0
This discussion was created from the release Introducing: Exactly-once support for Pub/Sub.
Beta Was this translation helpful? Give feedback.
All reactions