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

feat(billing): Generate and add idempotency key to outcomes message #78795

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dashed
Copy link
Member

@dashed dashed commented Oct 8, 2024

Add idempotency_key field to outcome messages that get published to Kafka consumers (outcomes and billing outcomes).

This is the first step in making outcome messages idempotent, so that we prevent duplicated usage counts when reprocessing outcome messages more than once.

@dashed dashed requested a review from a team October 8, 2024 20:21
@dashed dashed self-assigned this Oct 8, 2024
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 8, 2024
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #78795      +/-   ##
==========================================
- Coverage   78.25%   78.25%   -0.01%     
==========================================
  Files        7105     7105              
  Lines      313227   313284      +57     
  Branches    51135    51146      +11     
==========================================
+ Hits       245127   245156      +29     
- Misses      61742    61764      +22     
- Partials     6358     6364       +6     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant