Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

alokkusingh/gRPCServer

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Server

Generate Stub

Generate Stub from protobuf using protoc-jar-maven-plugin Maven plugin

mvn clean generate-sources

Access gRPC API

You may use BloomGRPC toll to invoke the gRPC APPIs...

brew install --cask bloomrpc

Give App permission on Mac

sudo xattr -rd com.apple.quarantine /Applications/BloomRPC.app

Putting behind Nginx

Compatible version

NGINX Open Source 1.13.10 or higher

Required Module

--with-http_v2_module

nginx -V

Nginx Config

    server {
        listen  8088 http2;

        access_log  /Users/aloksingh/logs/nginx-access.log  main;
        error_log  /Users/aloksingh/logs/nginx-error.log  warn;

        location / {
            grpc_pass grpc://localhost:9090;
        }

    }

About

Google RPC (gRPC) Server with protobuf over HTTP/2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.