-
Notifications
You must be signed in to change notification settings - Fork 166
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
Milvus Client V2 #746
Milvus Client V2 #746
Conversation
Welcome @nianliuu! It looks like this is your first PR to milvus-io/milvus-sdk-java 🎉 |
*/ | ||
public void connect(ConnectConfig connectConfig){ | ||
this.connectConfig = connectConfig; | ||
channel = clientUtils.getChannel(connectConfig); |
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.
If the "channel" is already connected, better to shutdown it before this line.
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.
ok, will update
if(this.channel != null){
this.channel.shutdownNow();
}
…or V2 API. Signed-off-by: Nian Liu <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nianliuu, yhmo 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 |
…or V2 API. (#746) Signed-off-by: Nian Liu <[email protected]> (cherry picked from commit b9e4c05)
…or V2 API. (#746) Signed-off-by: Nian Liu <[email protected]> (cherry picked from commit b9e4c05)
…or V2 API. (#746) Nian Liu* 1/26/24, 5:12 PM
Description
Currently we have 5 different milvus SDK: python, java, node, go, restful. With the evolve of milvus, different api have different api format and usage. It's becoming harder to maintain for owner and harder to use for user. Based on this, we reformate unified all 5 SDKs. Providing this V2 API.
Code Change
Test