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(transactions): Transaction added to garantee only once paradigm #289

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcosschroh
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 94.65649% with 7 lines in your changes missing coverage. Please review.

Project coverage is 95.98%. Comparing base (d6b2a51) to head (6c40c0a).

Files with missing lines Patch % Lines
kstreams/test_utils/topics.py 85.71% 4 Missing ⚠️
kstreams/transaction.py 93.87% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #289      +/-   ##
==========================================
- Coverage   96.00%   95.98%   -0.03%     
==========================================
  Files          24       25       +1     
  Lines         977     1095     +118     
==========================================
+ Hits          938     1051     +113     
- Misses         39       44       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marcosschroh marcosschroh force-pushed the feat/add-transantions branch 5 times, most recently from 4259bf1 to 2860cd3 Compare February 14, 2025 16:42
@marcosschroh marcosschroh force-pushed the feat/add-transantions branch 2 times, most recently from b2c3546 to abaea8b Compare February 27, 2025 14:22

```python title="Transaction inside a stream"
@stream_engine.stream("a-topic", group_id="my-group")
async def stream_a(cr: ConsumerRecord, transactional: Transactional):
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't be better to call the type Transaction? transactional is an adjective, is a property of something

Copy link
Collaborator Author

@marcosschroh marcosschroh Mar 4, 2025

Choose a reason for hiding this comment

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

Yes, the name change is in the list. The PR is still a draft

@marcosschroh marcosschroh force-pushed the feat/add-transantions branch 8 times, most recently from 57982a3 to d9724bc Compare March 5, 2025 15:20
@marcosschroh marcosschroh force-pushed the feat/add-transantions branch from d9724bc to 6c40c0a Compare March 5, 2025 15:40
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.

2 participants