Skip to content

Buffered Realtime Publisher #462

@mamueluth

Description

@mamueluth

Is your feature request related to a problem? Please describe.
In the current implementation of the RealtimePublisher we use the try_publish(msg) function for publishing. This function is non-blocking but it does give no guarantee that the msg will actually be published.

We could check the return value and if an try again, however this lays responsibility on the user of the RealtimePublisher to wait and retry or buffer and retry later. I would like to have a version of the RealtimePublisher where you can enqueue a message and it will be published at the next possible time.

Describe the solution you'd like
A possible sollution would be a version of the RealtimePublisher which can enqueue messages and published them.

Describe alternatives you've considered
I would like to discuss this approach and alternative approaches are welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions