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

It would be useful to be explicit about the Subscribe step in Pub/Sub #168

Open
1 of 5 tasks
KeithDuddyS23M opened this issue Jun 4, 2024 · 2 comments
Open
1 of 5 tasks
Assignees

Comments

@KeithDuddyS23M
Copy link

Summary

In the Publish/Subscribe pattern, only the case where the consumers (subscribers) of messages are already set up. I think it's worth saying something briefly about the step of the interested API Consumers communicating their subscription (and later possibly un-subscription) to the channel of interest at the Broker, and the Broker then keeping it on a list of subscribers, then delivering messages (as already described) until an un-subscribe request is made, at which point the API Consumer is removed from the list.

Link to standards item

https://apistandards.digital.health.nz/api-development/Asynchronous%20APIs/Async%20Patterns/PubSub

Which area of the standards does this apply to?

  • Part A - API Concepts
  • Part B - API Security
  • Part C - API Design and Development
  • Part D - FHIR
  • Community guidelines
@swithinfoote swithinfoote self-assigned this Jun 4, 2024
@mathusmith
Copy link

@KeithDuddyS23M there is a more detailed description of subscription handling . I do agree though that the pattern description would benefit from a mention of subscriptions by consumers.

@KeithDuddyS23M
Copy link
Author

Thanks @mathusmith ... I didn't know that I missed that Subscription/Topic section.This is strange, because even though I sometimes make comments when I don't realise that things are coming later, this precedes the Patters section. And now I'm trying to follow David Moon's suggested review procedure of scanning all the content before commenting on specifics. Maybe it was inserted at v1.2, and I had commented on v1.1). However, given the example diagrams in the Topics/Subscriptions, I think this covers my concerns (although a cross-reference might be good).

cheers,
K

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

No branches or pull requests

3 participants