-
Notifications
You must be signed in to change notification settings - Fork 3k
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
enhance: enable rmq for streaming #38669
enhance: enable rmq for streaming #38669
Conversation
4e221c7
to
5d9d1d3
Compare
Signed-off-by: chyezh <[email protected]>
bfeed25
to
a63e5b0
Compare
@chyezh go-sdk check failed, comment |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #38669 +/- ##
===========================================
+ Coverage 69.33% 81.08% +11.74%
===========================================
Files 292 1381 +1089
Lines 26187 195200 +169013
===========================================
+ Hits 18158 158272 +140114
- Misses 8029 31342 +23313
- Partials 0 5586 +5586
|
Signed-off-by: chyezh <[email protected]>
a63e5b0
to
803fa3e
Compare
@@ -191,6 +198,17 @@ func (c *client) tryToConsume(consumer *consumer) []*RmqMessage { | |||
} | |||
rmqMsgs := make([]*RmqMessage, 0, len(msgs)) | |||
for _, msg := range msgs { | |||
rmqMsg, err := unmarshalStreamingMessage(consumer.topic, msg) | |||
if err == nil { |
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.
The error code makes it difficult to determine whether the message is from the streaming node; checking the message source directly is clearer.
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: chyezh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
issue: milvus-io#38399 --------- Signed-off-by: chyezh <[email protected]>
issue: #38399