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

fix: fixed edge-case where events would be set to failed if hazelcast instance is not active #11

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

ledex
Copy link
Contributor

@ledex ledex commented Apr 26, 2024

This fixes an edge case where events would be set to 'FAILED' if the hazelcast instance used for the deduplication cache is not active/reachable/etc. Instead, we now deliver the events anyway, without checking for duplicates. As Horizon is built for 'at least once' delivery, and consumers need to be idempotent, this should be no problem.

For writing events in the deduplication cache this is already implemented.

@ledex ledex requested a review from a team as a code owner April 26, 2024 13:24
@ledex ledex requested review from mherwig and Th3Shadowbroker and removed request for a team April 26, 2024 13:24
Copy link

Overall Project 79.51% -0.46% 🍏
Files changed 68.09%

File Coverage
SubscribedEventMessageHandler.java 87.7% -8.02%

@ledex ledex added this to the 4.0.1 milestone Apr 26, 2024
Copy link
Member

@Th3Shadowbroker Th3Shadowbroker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@ledex ledex merged commit cc0868f into main Apr 30, 2024
5 checks passed
@ledex ledex deleted the fix/deduplication-exception-fix branch April 30, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants