-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When all HandlerTransactions are resolved, we resolve the MainTransaction and delete all related Transactions like MainTransaction -> ...N SpreadTransaction, where N is the number of replicas that will receive the event.
It doesn't allow us to monitor or check about resolved events.
We should have something like a StaggedTransaction with a TTL & optionally a callback to add custom data/store it in another DB.
here is a draft of the structure with some key elements
interface StaggedTransaction<T> {
event: string;
aliveSince: string;
redisMetadata: {
publisher: {
name: string;
};
receivers: [{
name: string;
}];
eventTransactionId: string;
}
} & T;Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request