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

Consolidate api subscription events #3445

Merged
merged 3 commits into from May 9, 2023
Merged

Conversation

rocketeerbkw
Copy link
Member

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

The API schema doesn't provide a way to signal the difference between all the event types we send. This refactors to use a single queue for each resource.

Closing issues

Related to #1344

The api schema can't tell the client what event was triggered so
there's no need to have a pubsub infrastructure that supports it.
Since a client can't tell the difference between add/delete there's
no point in sending delete events at all.
The schema only allows returning "Task" data from subscriptions.
@tobybellwood tobybellwood added this to the v2.15.x milestone May 8, 2023
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

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

Happy with this, pending further improvement work to subscriptions

@tobybellwood tobybellwood merged commit 2e684c6 into main May 9, 2023
1 check passed
@tobybellwood tobybellwood deleted the subscription-improvements branch June 13, 2023 03:53
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.

None yet

2 participants