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

Expose the QueuePusher API #7

Merged
merged 5 commits into from
Mar 7, 2024
Merged

Expose the QueuePusher API #7

merged 5 commits into from
Mar 7, 2024

Conversation

satabin
Copy link
Collaborator

@satabin satabin commented Mar 7, 2024

Similarly to the QueuePuller API defined in #6, the publication API is modeled around a sink and a QueuePusher. The pusher is the lowest level API of publication, allowing existing code bases to choose how the messages are published. The sink provided in the QueuePubliser allows for integrating into existing fs2 code easily.

This approach brings regularity to the API and symmetry between publication and subscription.

Similarly to the `QueuePuller` API defined in #6, the publication API is
modeled around a sink and a `QueuePusher`. The pusher is the lowest
level API of publication, allowing existing code bases to choose how the
messages are published. The sink provided in the `QueuePubliser` allows
for integrating into existing fs2 code easily.

This approach brings regularity to the API and symmetry between
publication and subscription.
@satabin satabin requested a review from JPisCoding March 7, 2024 10:50
Copy link

@JPisCoding JPisCoding left a comment

Choose a reason for hiding this comment

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

Looks good, but see the minor aspects that caught my eye.

Copy link

@JPisCoding JPisCoding left a comment

Choose a reason for hiding this comment

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

:shipit:

@satabin satabin merged commit 5c6f507 into main Mar 7, 2024
7 checks passed
@satabin satabin deleted the push-design branch March 7, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants