Questions tagged [grpc-java]

Java version of general RPC (Remote Procedure Call) framework over HTTP/2.

Links

What is gRPC?

In gRPC a client application can directly call methods on a server application on a different machine as if it was a local object, making it easier for you to create distributed applications and services. As in many RPC systems, gRPC is based around the idea of defining a service, specifying the methods that can be called remotely with their parameters and return types. On the server side, the server implements this interface and runs a gRPC server to handle client calls. On the client side, the client has a stub (referred to as just client in some languages) that provides the same methods as the server.

By default gRPC uses protocol buffers, Google’s mature open source mechanism for serializing structured data (although it can be used with other data formats such as JSON). As you’ll see in our example below, you define gRPC services using proto files, with method parameters and return types specified as protocol buffer message types. You can find out lots more about protocol buffers in the Protocol Buffers documentation.

863 questions
-1
votes
1 answer

grpc-java - java_plugin not found

I am trying to get a program running. I installed grpc-java in one of my folders on linux. I did ../gradlew publishToMavenLocal for grpc-java and it was successful but I don't find anything generated in /usr/local. How to resolve the compile error…
user2868864
  • 165
  • 2
  • 12
-1
votes
2 answers

GRPC Java Server Service

How can I trigger server side streaming service when any action service is called by the client? Right now the streaming server can only send the response when it is called by the client.
Harsh Mahajan
  • 21
  • 1
  • 7
-1
votes
1 answer

grpc complete async java service request/response mapping

A Java service (let's call it portal) is both a gRPC client as well as server. It serves millions of gRPC clients (server), each client requesting for some task/resource. Based on the incoming request, portal will figure out the backend services and…
-1
votes
1 answer

I want to build google assistant on my android application

i want to build ai speaker to use google assistant on android app not android things. may be i think i will use grcp because python not execute on android app. Is there any way I can use Google Assistant already installed in my mobile phone ? my…
-1
votes
1 answer

I don't know how to use gRPC

enter image description here [szm@localhost helloworld]$ protoc --plugin=protoc-gen-grpc-java=/home/szm/build/exe/java_plugin/protoc-gen-grpc-java --grpc-java_out=./src/main/java/ ./src/main/proto/helloWorld.proto I get sayHelloGrpc.java,but it has…
-2
votes
1 answer

How to manage gRPC server channel within a spring-boot

I have a setup which has a spring-boot application and gRPC server. gRPC server has written in NodeJS and deployed in a separate server. In my spring-boot app, there is an endpoint which accepts a request object and delegate it to the gRPC…
Jude Niroshan
  • 4,280
  • 8
  • 40
  • 62
-3
votes
1 answer

TCP transport for grpc-java

Is there an implementation of raw TCP transport for grpc-java? I need grpc for internal network services and don't have firewall issues so I'd like to avoid HTTP/2 overhead when building grpc based services.
hawk
  • 1,827
  • 2
  • 14
  • 28
1 2 3
57
58