File tree Expand file tree Collapse file tree
src/main/java/org/baeldung/grpc/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 </build >
7272
7373 <properties >
74- <io .grpc.version>1.5.0 </io .grpc.version>
75- <os-maven-plugin .version>1.5.0.Final </os-maven-plugin .version>
76- <protobuf-maven-plugin .version>0.5.0 </protobuf-maven-plugin .version>
74+ <io .grpc.version>1.16.1 </io .grpc.version>
75+ <os-maven-plugin .version>1.6.1 </os-maven-plugin .version>
76+ <protobuf-maven-plugin .version>0.6.1 </protobuf-maven-plugin .version>
7777 </properties >
7878
7979</project >
Original file line number Diff line number Diff line change 1010public class GrpcClient {
1111 public static void main (String [] args ) throws InterruptedException {
1212 ManagedChannel channel = ManagedChannelBuilder .forAddress ("localhost" , 8080 )
13- .usePlaintext (true )
13+ .usePlaintext ()
1414 .build ();
1515
1616 HelloServiceGrpc .HelloServiceBlockingStub stub
You can’t perform that action at this time.
0 commit comments