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

IEventItemProjectionBuilder<TEventItem> - Inbox Decorator #260

Open
mumby0168 opened this issue Mar 19, 2022 · 0 comments
Open

IEventItemProjectionBuilder<TEventItem> - Inbox Decorator #260

mumby0168 opened this issue Mar 19, 2022 · 0 comments
Labels
event-sourcing Related to the CosmosEventSourcing project. help wanted Extra attention is needed up-for-grabs 🙏🏽 Happy to consider a pull review to address this issue

Comments

@mumby0168
Copy link
Collaborator

We can make use of another container or maybe an in-memory cache to guarantee that an event won't be processed more than once.

This would use the unique ID of an event this would be saved as soon as the event is provided by the change feed. It can then be checked for every event that we process. There are two implementations of this we can use.

  • in-memory
  • using another container

We can use the decorator pattern to allow this to be applied.

@mumby0168 mumby0168 added the event-sourcing Related to the CosmosEventSourcing project. label Mar 19, 2022
@IEvangelist IEvangelist added help wanted Extra attention is needed up-for-grabs 🙏🏽 Happy to consider a pull review to address this issue labels Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-sourcing Related to the CosmosEventSourcing project. help wanted Extra attention is needed up-for-grabs 🙏🏽 Happy to consider a pull review to address this issue
Projects
No open projects
Cosmos Event Sourcing
Awaiting triage
Development

No branches or pull requests

2 participants