I'm looking at an activity feed and another user writes a message. I want to see that message appear (or a prompt there is a new message) without having to do a hard refresh of the page.
Problems
You don't want to subscribe to every single new activity, only the ones for the entity you currently have open.
Proposal
Topic: activity.{entityId}
Summary includes entityId, activityId
It can be a one time send and forget, a bit like inbox.message.
Story
I'm looking at an activity feed and another user writes a message. I want to see that message appear (or a prompt there is a new message) without having to do a hard refresh of the page.
Problems
You don't want to subscribe to every single new activity, only the ones for the entity you currently have open.
Proposal
Topic:
activity.{entityId}
Summary includes
entityId
,activityId
It can be a one time send and forget, a bit like
inbox.message
.