Skip to content

Is there a way to configure grpc.MaxCallRecvMsgSize #12576

Closed
@spacewander

Description

@spacewander

After #9043, the grpc client can set MaxCallRecvMsgSize when creating a request.

But when the client accesses etcd via http (through the proxy of grpc-gateway), it seems there is not a way to configure grpc.MaxCallRecvMsgSize?

Activity

agargi

agargi commented on Dec 28, 2020

@agargi
Contributor

@spacewander Should this not be a gRPC Gateway question? I believe gRPC Gateway may be providing this kind of capability through metadata sent as part of request header.

spacewander

spacewander commented on Dec 29, 2020

@spacewander
ContributorAuthor

@agargi
MaxCallRecvMsgSize is a client option, not a metadata name. AFAIK, gRPC Gateway doesn't provide a feature to set it via HTTP request.

stale

stale commented on Mar 29, 2021

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

spacewander

spacewander commented on Mar 29, 2021

@spacewander
ContributorAuthor

Does the problem still exist?

simonhou

simonhou commented on May 14, 2021

@simonhou

@spacewander Our apisix use etcd v3.4, still exist.

spacewander

spacewander commented on Jun 3, 2021

@spacewander
ContributorAuthor

@simonhou
I have just submitted a PR to solve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @simonhou@spacewander@agargi

      Issue actions

        Is there a way to configure grpc.MaxCallRecvMsgSize · Issue #12576 · etcd-io/etcd