You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our outbox processor reads all messages from the database after the service starts. But if some message structure was changed it will cause panic.
The goal is to extend outbox messages with version and make sure service does not read messages with outdated version.
Possible solution:
current message: pub struct FlowConfigurationUpdatedMessage { pub event_time: DateTime<Utc>, pub flow_key: FlowKey, pub paused: bool, pub rule: FlowConfigurationRule, }
Currently, our outbox processor reads all messages from the database after the service starts. But if some message structure was changed it will cause panic.
The goal is to extend outbox messages with version and make sure service does not read messages with outdated version.
Possible solution:
current message:
pub struct FlowConfigurationUpdatedMessage { pub event_time: DateTime<Utc>, pub flow_key: FlowKey, pub paused: bool, pub rule: FlowConfigurationRule, }
Expected message:
pub struct OutboxMessage { message: Enum(existing messages), version: i32 }
The text was updated successfully, but these errors were encountered: