You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make publisher confirms more usable with super streams (coders51#276)
* Make publisher confirms more usable with super streams
- In order to wait for a publisher confirm reliably using the listener registered against a Client, we need access to the publisherId and connectionId to properly scope a publishingId
- PublishConfirmResponse and PublishErrorResponse changed so that publisherId is public (readonly)
- Client publish_confirm and publish_error listeners are now passed an extra connectionId argument. Combined with the now visible publisherId, a scoped publishingId can be constructed
- SendResult changed to include a reference to the publisher, which allows the caller of SuperStreamPublisher#send() to know which StreamPublisher the message was sent to allowing construction of a scoped publishingId.
* Use publisherId and connectionId in SendResult
Incorporating feedback that including publisherId and connectionId
in SendResult is preferred over the full publisher object.
---------
Co-authored-by: Mike Tunnicliffe <[email protected]>
0 commit comments