Skip to content

Nats: guarantee order of message reception #58

Open
@slawo

Description

Currently there is no guarantee messages are received in order when using nats streaming.

This can be easily fixed by checking the msg.Sequence.

2 cases can be implemented:

  • SequenceGuarantee we receive the right sequence of events. 4,5,6,7,8...
  • OrderGuarantee: we receive the messages in order 4,5,8,9,30,31,34... which will work when group subscriptions are expected to be used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions