-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PublishCorrelated
Request/Outgoing event to associate a Publish…
#291
Conversation
… message with an external id This simplifies associating a published message with the pkgid that it got assigned, without having to resort to event ordering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just typos in the docstirngs.
@@ -152,6 +155,10 @@ pub enum Outgoing { | |||
#[derive(Clone, Debug, PartialEq)] | |||
pub enum Request { | |||
Publish(Publish), | |||
/// `PublishCorrelated` allows to correlate a `Publish` request with an id choosen by the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// `PublishCorrelated` allows to correlate a `Publish` request with an id choosen by the | |
/// `PublishCorrelated` allows correlating a `Publish` request with an id chosen by the |
@@ -152,6 +155,10 @@ pub enum Outgoing { | |||
#[derive(Clone, Debug, PartialEq)] | |||
pub enum Request { | |||
Publish(Publish), | |||
/// `PublishCorrelated` allows to correlate a `Publish` request with an id choosen by the | |||
/// client. This serves the purpose to correlate a published message with the `pkgid` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// client. This serves the purpose to correlate a published message with the `pkgid` | |
/// client. This serves the purpose to correlate a published message with the `pkid` |
In the new design #351 , we are returning pkid from publishes. That should help with correlating outgoing messages and incoming acks. Closing this now. Please feel free to reopen this if you have more questions |
… message with an external id
This simplifies associating a published message with the pkgid that it
got assigned, without having to resort to event ordering.