Allow differentiating between failed event publications and ones that are currently processed #663
Labels
in: event publication registry
Event publication registry
type: enhancement
Major enhanvements, new features
Hi,
we ran into another issue with multiple nodes (using jpa event publication), where one node tries to handle the event via the local application event publishing mechanism, whilst the other node tries to replay incompleted event (because it has not been marked as completed yet).
For now we mitigated the issue, by only replying events older than x seconds to avoid the same event handler to be triggered twice on different nodes.
I wonder, if it would be useful that any event handler either keeps a lock in the database while processing an event or uses a state field (wether the event is currently being processed).
What would be your recommendation?
The text was updated successfully, but these errors were encountered: