Skip to content
gRPC for Vert.x
Java HTML Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vertx-grpc-protoc-plugin
vertx-grpc
.editorconfig
.gitignore
.travis.deploy.artifacts.sh
.travis.maven.settings.xml
.travis.yml
README.md
pom.xml

README.md

Build Status

Vert.x gRPC

Currently for Vert.x 3.4.0-SNAPSHOT

Supports:

  • client and server
  • server scaling
  • ssl configuration with options
  • auto close in Verticle

Todo:

  • contribute support to grpc-java Netty implementation to provide async start/shutdown
  • worker integration ?

Plugin installation

To use vertx-grpc-protoc-plugin with the protobuf-maven-plugin, add a custom protoc plugin configuration section.

<protocPlugins>
    <protocPlugin>
        <id>vertx-grpc-protoc-plugin</id>
        <groupId>io.vertx</groupId>
        <artifactId>vertx-grpc-protoc-plugin</artifactId>
        <version>[VERSION]</version>
        <mainClass>io.vertx.grpc.protoc.plugin.VertxGrpcGenerator</mainClass>
    </protocPlugin>
</protocPlugins>

And add the vertx-grpc dependency:

<dependency>
  <groupId>io.vertx</groupId>
  <artifactId>vertx-grpc</artifactId>
  <version>[VERSION]</version>
</dependency>
You can’t perform that action at this time.