Skip to content

Keep threaded sends inside exactly-once transactions - #801

Open
wbarnha wants to merge 1 commit into
masterfrom
copilot/fix-177-threaded-eos
Open

wbarnha wants to merge 1 commit into
masterfrom
copilot/fix-177-threaded-eos

Conversation

@wbarnha

@wbarnha wbarnha commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Disable the raw threaded aiokafka producer when exactly-once transactions are active.
  • Route buffered sends through the asynchronous topic publish path, which selects the transaction manager.
  • Preserve the configured threaded path for non-transactional apps and add regression coverage for both paths.

Addresses #177.

Validation

  • Producer, aiokafka-driver, and topic suites: 223 passed, 3 skipped.

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.22%. Comparing base (3442a90) to head (f0e8fa0).

Files with missing lines Patch % Lines
faust/transport/producer.py 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #801      +/-   ##
==========================================
+ Coverage   96.20%   96.22%   +0.02%     
==========================================
  Files         110      110              
  Lines       11791    11793       +2     
  Branches     1282     1282              
==========================================
+ Hits        11343    11348       +5     
+ Misses        351      348       -3     
  Partials       97       97              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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.

1 participant