[grpc-io] Use c++ to create a channel through fd file descriptor, which APIs need to be called.

2022-02-16 Thread ccnankai
Iam a beginner. I am going to write a client in c++. But the tutorials in the example create channels in the form of gprc::CreateChannel(localhost::port). If I want to connect to server through .socket file, like grpc.Dial(xxx.socket) in golang, what should I do, is there any example. -- You

[grpc-io] Re: ssl/tls grpc not available for c++?

2022-02-16 Thread wyf Heat
Thanks for your reply. In `GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE` mode, The client needs to verify the server, and the server needs to send the server certificate to the client. These processes should also be under the TLS protocol, but through the packet capture, there is no TLS.

[grpc-io] Re: Using the gRPC AsyncIO API in python

2022-02-16 Thread 'Lidi Zheng' via grpc.io
We only have unit tests at this point: - Testing how to use the async generator and read/write API, or both: https://github.com/grpc/grpc/blob/6a10e41db75bd6074bf01a08d260365e44922f04/src/python/grpcio_tests/tests_aio/unit/server_test.py#L164 - A slightly more complex test server with streaming

[grpc-io] Re: Can Python package `py-grpc-prometheus` be used with the Python gRPC AsyncIO version?

2022-02-16 Thread 'Lidi Zheng' via grpc.io
The interceptor API for AsyncIO is different than the normal interceptor API. AsyncIO requires the method signatures to pass on "async"-ness from function to function. If there is an AsyncIO metrics library, it should be possible to integrate with gRPC AsyncIO. However, if there isn't, the

[grpc-io] Re: ssl/tls grpc not available for c++?

2022-02-16 Thread 'yas...@google.com' via grpc.io
Note that you are using `GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE`. In that mode, the server does not request (nor require) client certificates. If you want the server to require client certificates, you could use `GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY` instead of

[grpc-io] Re: C++ header list size violation

2022-02-16 Thread 'yas...@google.com' via grpc.io
The channel arg `GRPC_ARG_MAX_METADATA_SIZE ` serves that purpose. On Thursday, February 10, 2022 at 12:14:16 PM UTC-8 A M wrote: > Hello > > I am getting this error on a

Re: [grpc-io] Interpretation of "updates_only" flag in the gnmi subscription request

2022-02-16 Thread 'Eric Anderson' via grpc.io
On Wed, Feb 16, 2022 at 4:36 AM Ashutosh Maheshwari < ashutosh.maheshw...@gmail.com> wrote: > Referring to the grpc specification of updates_only flag here - > https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md > > I would like to learn from the creator and users

[grpc-io] Interpretation of "updates_only" flag in the gnmi subscription request

2022-02-16 Thread Ashutosh Maheshwari
Hello folks, Referring to the grpc specification of updates_only flag here - https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md I would like to learn from the creator and users of grpc, what is the correct interpretation of updates_only flag w.r.t sample and