Skip to content

feat(kafka): New Kafka utility #6821

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

Merged
merged 34 commits into from
Jun 18, 2025
Merged

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #6819

Summary

Changes

  • Adds a new Kafka utility to the library which is useful for processing events from Kafka.

User experience

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner June 18, 2025 09:16
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jun 18, 2025
@boring-cyborg boring-cyborg bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation internal Maintenance changes tests labels Jun 18, 2025
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

2 similar comments
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@github-actions github-actions bot removed documentation Improvements or additions to documentation labels Jun 18, 2025
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

1 similar comment
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@leandrodamascena leandrodamascena self-assigned this Jun 18, 2025
@leandrodamascena leandrodamascena linked an issue Jun 18, 2025 that may be closed by this pull request
2 tasks
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

Copy link

codecov bot commented Jun 18, 2025

Codecov Report

Attention: Patch coverage is 98.92086% with 3 lines in your changes missing coverage. Please review.

Project coverage is 96.19%. Comparing base (3a9a0e8) to head (ab5a37d).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...ols/utilities/kafka/serialization/serialization.py 93.33% 0 Missing and 2 partials ⚠️
...bda_powertools/utilities/kafka/consumer_records.py 98.57% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6821      +/-   ##
===========================================
+ Coverage    96.13%   96.19%   +0.05%     
===========================================
  Files          256      273      +17     
  Lines        12354    12626     +272     
  Branches       916      938      +22     
===========================================
+ Hits         11877    12146     +269     
  Misses         375      375              
- Partials       102      105       +3     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link

Copy link
Contributor

@dreamorosi dreamorosi left a comment

Choose a reason for hiding this comment

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

Thank you for the amazing work on this feature.

Not just the implementation in this PR, but also for coordinating and leading the feature across languages.

Great work!

@leandrodamascena leandrodamascena merged commit e920f08 into develop Jun 18, 2025
12 checks passed
@leandrodamascena leandrodamascena deleted the feature/kafka-consumer branch June 18, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file event_handlers feature New feature or functionality size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Add support for deserializing Kafka records
2 participants