Add Feature -Redis Exporter and Exporter Interface Variable Update For Zeebe#272
Open
aamirmousavi wants to merge 2 commits intonitram509:mainfrom
Open
Add Feature -Redis Exporter and Exporter Interface Variable Update For Zeebe#272aamirmousavi wants to merge 2 commits intonitram509:mainfrom
aamirmousavi wants to merge 2 commits intonitram509:mainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #272 +/- ##
==========================================
- Coverage 63.44% 58.07% -5.38%
==========================================
Files 28 29 +1
Lines 1896 2087 +191
==========================================
+ Hits 1203 1212 +9
- Misses 647 828 +181
- Partials 46 47 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation/Abstract
Our primary motivation is to utilize Redis as a supported exporter for Zeebe to meet specific project requirements and to improve the testability and monitoring of BPMN flows by allowing direct variable manipulation. This PR introduces a functional Redis exporter and extends the Exporter interface with an updateVariable method (implemented for both Hazelcast and Redis) to address these needs.
Description/Comments
This pull request delivers two key enhancements:
We've developed a Redis exporter because our operational setup requires its use over Hazelcast. The implementation ensures that Zeebe records can be effectively streamed to and stored in Redis, aligning with Zeebe's official support for Redis as an alternative exporter.
To facilitate more robust testing and monitoring of our BPMN processes, especially when needing to simulate specific states or debug issues related to process variables, we've added an updateVariable method to the Exporter interface. This new method has been implemented for both the existing Hazelcast exporter and the newly introduced Redis exporter, providing a consistent way to modify variables regardless of the chosen exporter.
These changes aim to offer more flexibility in exporter choices and enhance the developer experience around testing and process instance management.
#271
Tests
Code examples
Documentation