grpc Questions

4

I'm using the very latest Ubuntu 21.04 for aarch64. In order to experiment with gRPC, I installed grpc stuff: python3 -m pip install grpc python3 -m pip install grpcio-tools I also tried: pip3 ins...
Thunderstruck asked 5/8, 2021 at 18:40

2

I've created a DotNet Core 3.1 gRPC server. Is it possible to user this server in a DotNet Frametwork 4.8 client? I've referenced these packages: Google.Protobuf Grpc.Core Grpc.Core.Api My te...
Previse asked 24/4, 2020 at 11:9

5

Solved

Having the following structure: - project1 - project1.py - protofile_pb2.py - protofile_pb2_grpc.py - project2 - project2.py - protofile_pb2.py - protofile_pb2_grpc.py project1.py: import...
Seanseana asked 13/6, 2018 at 14:24

1

I got a gRPC service implemented using C# .NET8. I'm setting a concurrency limiter like this: services.AddRateLimiter(options => { options.AddConcurrencyLimiter(policyName: concurrencyPolicyNa...
Pent asked 16/7 at 10:52

5

I'm writing a RESTful API in Golang, which also has a gRPC api. The API connects to a MongoDB database, and uses structs to map out entities. I also have a .proto definition which matches like for ...
Sapienza asked 17/7, 2017 at 22:49

6

I am using .NET Core 3.1 and want to create a GRPC Service with a Console App as the Server and a WPF App as the Client. I can't see any examples online - for some reason all the Console Apps seem ...
Constrained asked 29/9, 2020 at 16:1

2

Solved

Hi im currently looking into grpc and im curious about the use usage of a repeated field vs a stream. For example let's say i want to implement a reservation service for movie seats. The issue im ...
Torras asked 18/9, 2019 at 17:7

4

I'm following thist tutorial : https://cloud.google.com/tasks/docs/tutorial-gcf To create a Task that would call a cloud function. I've done quite some tries and still get this error: If I change ...
Realpolitik asked 27/8, 2020 at 15:43

9

Solved

Following the docs on how to set up a gRPC gateway, I find myself stuck at step four of generating the grpc gateway. Namely, things fall apart when the following line is added: import "google/...
Permanganate asked 12/2, 2021 at 8:14

2

I want to map datetime in c# datetime in protobuf . Do you have any suggestion to do this?
Islas asked 15/9, 2020 at 9:55

6

Trying to compile my protos - I need to compile them to use in my react app. But I get this error. I run the command as follows: cd src/main/proto && protoc -I=. *.proto --js_out=import_sty...
Rembrandt asked 10/6, 2022 at 9:29

3

The following are my protobuf definitions: enum Foo { BAR = 0; BAZ = 1; } message UpdateRequest { string id = 1; Foo foo = 2; . . . } I need the foo field of the UpdateRequest to be nulla...
Woolf asked 6/3, 2021 at 16:12

7

In one of my services that happens to be my loadbalancer, I am getting the following error when calling the server method in one of my deployed services: rpc error: code = Unimplemented desc = u...
Sapro asked 11/5, 2018 at 9:30

6

Solved

I use gRPC to generate code '@javax.annotation.Generated' like below picture. Then I use maven to build the project, and it reports 'Error:(20,18) java: cannot find symbol' like below picture. ...
Complexity asked 1/4, 2020 at 9:58

3

Solved

I have read the similar question related to this problem. It ended up with frustration. I installed consul with docker. I run the following command. docker run --name consul -d -p 8500:8500 consul...
Spoonfeed asked 4/11, 2021 at 13:38

3

I have a program written in C and want to include gRPC in it. However, the API for gRPC is written in C++. I've looked here and got the foo_client and foo_server working. https://github.com/Juni...
Vacuum asked 20/6, 2018 at 17:11

2

I'm currently playing around with gRPC and have so far created a simple C# hello world demo, using a Visual Studio ASP.Net Core gRPC Service project as the server, and a client console app. What I'...
Terryterrye asked 21/10, 2022 at 9:54

7

Solved

I am attempting to import one protocol buffer message into another, but the imports are not recognized. As long as I don't try to import one protobuf into another, the protobuf code is generated (i...
Decurrent asked 10/7, 2020 at 15:51

10

Relatively new to GRPC and getting an error in my proto file that I cannot seem to make sense of. I would like to send a time in a message using the "google.protobuf.Timestamp". I cannot ...
Homer asked 7/5, 2019 at 22:12

5

Solved

I am implementing a gRPC API using LogNet grpc-spring-boot-starter. I want to return, for instance, an INVALID_ARGUMENT error code when an incorrect argument has been passed. If I throw a custo...
Foredoom asked 5/7, 2019 at 13:58

10

Anyone having any examples or thoughts using gRPC together with Spring Boot?
Number asked 11/8, 2015 at 9:36

1

Here is my scenario. The grpc server is an asynchronous sever which subscribes data from other source. Also it provides a subscribe function to its client, thus it could push the data to the grpc c...
Jamila asked 1/8, 2018 at 1:20

2

Solved

I want to use gRPC with .NET in an asp.net core web application. How do I generate the necessary .proto file from an existing C# class and model objects? I don't want to re-write a .proto file that...
Shipmate asked 8/11, 2019 at 14:23

3

Given a proto definition message EndpointResult { int32 endpoint_id = 1; // property id as key map<int32, TimeSeries> properties = 2; } message TimeSeries { repeated TimeEntry value = ...
Irrelievable asked 28/11, 2018 at 12:27

3

I am just getting started with gRPC and have tried to implement a simple python service after going through the starter guides. But when I invoke my client call python is asking for a context argum...
Bolton asked 4/4, 2017 at 18:48

© 2022 - 2024 — McMap. All rights reserved.