-
Notifications
You must be signed in to change notification settings - Fork 131
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: support route dataframe to dedicate sfn instance #704
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #704 +/- ##
==========================================
+ Coverage 59.45% 59.58% +0.12%
==========================================
Files 37 37
Lines 2733 2781 +48
==========================================
+ Hits 1625 1657 +32
- Misses 1009 1019 +10
- Partials 99 105 +6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how to use SetWantedTarget(string)
? any tests?
Co-authored-by: venjiang <[email protected]>
…into feat/write-payload
I add some tests about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Adding
WriteWithTarget
api forSource
, call it like:And sfn will receive the payload that be written by source like this:
And the sfn that has called
sfn.SetWantedTarget("target-id-2")
will receive data from the above sfn.The route rules is:
SetWantedTarget
, send data to the sfn.SetWantedTarget
, send the data only whendataFrame.Metadata.Target == sfn.WantedTarget
.TODO: cli/wasm support.