Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for gRPC #2914

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open

Add support for gRPC #2914

wants to merge 37 commits into from

Conversation

fengye404
Copy link

Add support for gRPC, enabling unary calls and bidirectional streaming calls, while excluding any dependencies related to gRPC-netty.

@CLAassistant
Copy link

CLAassistant commented Sep 24, 2024

CLA assistant check
All committers have signed the CLA.

@hengyunabc
Copy link
Collaborator

pom.xml 里需要配置:

    <profiles>
        <profile>
            <id>mac</id>
            <activation>
                <os>
                    <family>mac</family>
                </os>
            </activation>
            <properties>
                <os.detected.classifier>osx-x86_64</os.detected.classifier>
            </properties>
        </profile>
    </profiles>

@hengyunabc
Copy link
Collaborator

https:/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md

  1. 据 grpc 规范,有很多 header 没有处理,比如 grpc-timeout , authorization 需要支持最简单的 Bearer 。
  2. 在 GrpcRequest 对象里没有 http header,用户如果想处理自定义的 header ,没办法处理。
  3. 没有看到在 server端返回 Trailers 相关的
Status → "grpc-status" 1*DIGIT ; 0-9
Status-Message → "grpc-message" Percent-Encoded
Status-Details → "grpc-status-details-bin" {base64 encoded value} ; See notes below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants