Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Outbox.Memory] Feature Request: In-Memory Outbox for Deferred Message Publishing #348

Open
zarusz opened this issue Dec 1, 2024 · 0 comments
Milestone

Comments

@zarusz
Copy link
Owner

zarusz commented Dec 1, 2024

Feature Request: In-Memory Outbox for Deferred Message Publishing

Description:
This feature proposes implementing a lean and fast in-memory outbox mechanism to defer message publishing until the completion of a unit of work (e.g., an HTTP request or message consumer operation).

Key Features:

  • Messages generated during a unit of work would only be published after the unit successfully completes (e.g., after Entity Framework SaveChanges()).
  • The design would ensure a lightweight and performant solution suitable for high-throughput scenarios.

Customization Points:

  1. Configurable Triggers:

    • Allow customization of the trigger that releases deferred messages (e.g., EF DbContext SaveChanges() or other specified events).
  2. Selective Application:

    • Provide options to configure which transports and messages are subject to this deferred behavior.

Use Case:
This would enhance reliability and consistency in scenarios where message publishing depends on the successful completion of related operations, reducing the risk of partial or inconsistent outcomes.

@zarusz zarusz added this to the 3.0.0 milestone Dec 1, 2024
@zarusz zarusz changed the title [Outbox.Memory] Deffer message publish form a unit of work until its finished [Outbox.Memory] Deffer message publish from a unit of work until its finished Dec 29, 2024
@zarusz zarusz changed the title [Outbox.Memory] Deffer message publish from a unit of work until its finished [Outbox.Memory] Feature Request: In-Memory Outbox for Deferred Message Publishing Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant