-
Couldn't load subscription status.
- Fork 24
feat: udsink gRPC stream #34
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
Conversation
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
Codecov Report
@@ Coverage Diff @@
## main #34 +/- ##
=======================================
Coverage 98.38% 98.38%
=======================================
Files 9 9
Lines 247 247
Branches 14 14
=======================================
Hits 243 243
Misses 2 2
Partials 2 2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
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.
Let's fix the lint/format issues.
Also, this change applies to only udsinks right?
|
@chromevoid to fix the lint issue, you might have to change the .flake8 file, and make it like this: https://github.com/numaproj/numalogic/blob/main/.flake8 |
Yes only udsink is updated from unary rpc to streaming rpc. |
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
…ython into udsink-grpc-stream Signed-off-by: jyu6 <juanlu_yu@intuit.com>
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.
@vigith I think it might be a better idea to fix the examples once v0.2.7 is released. Otherwise the example codes will fail for the time being. What do you think?
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
Signed-off-by: jyu6 <juanlu_yu@intuit.com>
numaproj/numaflow#335
gRPC development reference: #4 (comment)
Test
Client
Use numaflow-go sdk client code as the client
Server
Use numaflow-python sdk sink example log code as the server
Result
client test output
=== RUN Test_server_sink === RUN Test_server_sink/server_sink --- PASS: Test_server_sink (0.00s) --- PASS: Test_server_sink/server_sink (0.00s) PASS Process finished with the exit code 0server udsink output