An event queue that enables secure multi-tenant enabled transactional processing of asynchronous events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.
Would be nice to disable this collection of events of the transaction context. Because I experienced an issue, when using the following coding (CAP + EventQueue):
With version 1.4.4 the following code was introduced: https://github.com/cap-js-community/event-queue/blob/2b54288e66498d6c3d6ea8c99d8da4f9c1a2acd8/src/publishEvent.js#L67
Would be nice to disable this collection of events of the transaction context. Because I experienced an issue, when using the following coding (CAP + EventQueue):
As a consequence of the parallel handling of the before commit handlers, the event queue events are not inserted in the database and therefore lost.
My suggestion would be a disable flag in the
publishEvent
function.