Skip to content

Commit

Permalink
replace grpc-netty to grpc-netty-shared (#735)
Browse files Browse the repository at this point in the history
Signed-off-by: “yelusion” <[email protected]>
  • Loading branch information
yelusion2 authored Jan 8, 2024
1 parent a319fd5 commit 36aac71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<dependencies>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
<artifactId>grpc-netty-shaded</artifactId>
<version>${grpc.version}</version>
</dependency>
<dependency>
Expand Down
10 changes: 6 additions & 4 deletions src/main/java/io/milvus/client/MilvusServiceClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

import io.grpc.*;
import io.grpc.Status;
import io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts;
import io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder;
import io.grpc.netty.shaded.io.netty.handler.ssl.SslContext;
import io.grpc.stub.MetadataUtils;
import io.milvus.exception.MilvusException;
import io.milvus.exception.ServerException;
Expand Down Expand Up @@ -60,10 +63,9 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.Callable;

import io.grpc.netty.GrpcSslContexts;
import io.grpc.netty.NettyChannelBuilder;
import io.netty.handler.ssl.SslContext;

import io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts;
import io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder;
import io.grpc.netty.shaded.io.netty.handler.ssl.SslContext;

public class MilvusServiceClient extends AbstractMilvusGrpcClient {

Expand Down

0 comments on commit 36aac71

Please sign in to comment.