Skip to content

Ordering across publishers #73

@somdoron

Description

@somdoron

I think we can achieve semi-ordering across producers using Hybrid Logical Clocks, semi because:

  1. In real-time the events will be ordered by the time they arrive at the consumer (but always ordered per producer).
  2. When synchronizing with history the events would be ordered by the timestamp assigned by each producer - so always order per producer and very close to the order of real-time.

The store should now save the events by topic and timestamp

https://bartoszsypytkowski.com/hybrid-logical-clocks/

Metadata

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