Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

mneumann
Copy link

… 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.

… 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.
@stale stale bot added the wontfix This will not be worked on label Mar 16, 2022
@bytebeamio bytebeamio deleted a comment from stale bot Mar 19, 2022
@de-sh de-sh added stale Not moving forward; blocked and removed wontfix This will not be worked on labels Mar 19, 2022
@stale stale bot removed the stale Not moving forward; blocked label Mar 19, 2022
@de-sh de-sh added the stale Not moving forward; blocked label Mar 19, 2022
Copy link
Contributor

@mladedav mladedav left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// `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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// 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`

@tekjar
Copy link
Contributor

tekjar commented Apr 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Not moving forward; blocked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants