Add support for UDF function transformations in PubSubToRedis template#3262
Add support for UDF function transformations in PubSubToRedis template#3262wladabutenko wants to merge 13 commits intoGoogleCloudPlatform:mainfrom
Conversation
Summary of ChangesHello @wladabutenko, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the PubSubToRedis Dataflow template by integrating optional User-Defined Function (UDF) support. This allows users to apply custom JavaScript transformations to their Pub/Sub messages before they are persisted to Redis, providing greater flexibility in data processing. The changes also introduce robust error handling and dead-lettering capabilities for both UDF execution and Redis data transformations, ensuring data integrity and easier debugging for failed messages. The template's configuration and documentation have been updated to reflect these new features, alongside the addition of thorough testing. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (15.83%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #3262 +/- ##
============================================
- Coverage 50.93% 50.90% -0.03%
- Complexity 5160 5169 +9
============================================
Files 977 978 +1
Lines 60408 60689 +281
Branches 6612 6638 +26
============================================
+ Hits 30766 30896 +130
- Misses 27484 27624 +140
- Partials 2158 2169 +11
🚀 New features to boost your workflow:
|
|
LGTM, Thanks for adding this missing feature! |
Adding optional UDF support to the PubSubToRedis pipeline, enabling user-defined transformations before writing to Redis