Allow customization of Clock
used by the Event Publication Registry
#206
Labels
in: event publication registry
Event publication registry
type: enhancement
Major enhanvements, new features
Milestone
Hi, I have a question.
We understand that the order of events can be important because events can be causal. We also understand that clock synchronization between multiple machines can be skewed.
If the event listener crashes and events are not processed, events from the Event Publication Registry will be resubmitted when the application starts.
But will the events be resubmitted in the same order in which they were submitted by the publisher?
From looking at the JobcEventPublicationRepository, it appears that the events are sorted using PUBLICATION_DATE when the events are retrieved. And it appears that PUBLICATION_DATE is set using the clock of each machine.
If currently the Event Publication Registry is not preserving the order of events and is not resubmitting them in the order submitted by the publisher, is there any plan to support this in the future?
Best regards.
The text was updated successfully, but these errors were encountered: