grpc-java-contrib

Useful extensions for the grpc-java library.

License

License

Categories

Categories

gRPC Net Networking
GroupId

GroupId

com.salesforce.servicelibs
ArtifactId

ArtifactId

grpc-contrib-parent
Last Version

Last Version

0.8.1
Release Date

Release Date

Type

Type

pom
Description

Description

grpc-java-contrib
Useful extensions for the grpc-java library.
Project URL

Project URL

https://github.com/salesforce/grpc-java-contrib
Source Code Management

Source Code Management

https://github.com/salesforce/grpc-java-contrib

Download grpc-contrib-parent

How to add to project

<!-- https://jarcasting.com/artifacts/com.salesforce.servicelibs/grpc-contrib-parent/ -->
<dependency>
    <groupId>com.salesforce.servicelibs</groupId>
    <artifactId>grpc-contrib-parent</artifactId>
    <version>0.8.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.salesforce.servicelibs/grpc-contrib-parent/
implementation 'com.salesforce.servicelibs:grpc-contrib-parent:0.8.1'
// https://jarcasting.com/artifacts/com.salesforce.servicelibs/grpc-contrib-parent/
implementation ("com.salesforce.servicelibs:grpc-contrib-parent:0.8.1")
'com.salesforce.servicelibs:grpc-contrib-parent:pom:0.8.1'
<dependency org="com.salesforce.servicelibs" name="grpc-contrib-parent" rev="0.8.1">
  <artifact name="grpc-contrib-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.salesforce.servicelibs', module='grpc-contrib-parent', version='0.8.1')
)
libraryDependencies += "com.salesforce.servicelibs" % "grpc-contrib-parent" % "0.8.1"
[com.salesforce.servicelibs/grpc-contrib-parent "0.8.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • grpc-contrib
  • jprotoc
  • grpc-spring
  • jprotoc-test
  • demos/grpc-java-contrib-demo
  • grpc-testing-contrib

grpc-java-contrib

Build Status codecov

Useful extensions for using the grpc-java library.

This project is broken down into multiple sub-modules, each solving a different sub-problem.

  • grpc-contrib - A collection of utility classes to work with grpc-java.
  • grpc-testing-contrib - A collection of utility classes for testing grpc-java.
  • grpc-spring - Tools for automatically wiring up and starting a grpc service using Spring.
  • jprotoc - A framework for building protoc extension plugins in Java.

Demos

A pair of demo applications are in the grpc-java-contrib-demo directory.

  • time-service-demo - Hosts a simple gRPC service that reports the current time. Demonstrates grpc-spring service hosting.
  • time-client-demo - Connects to the time service. Demonstrates StaticResolver and jProtoc.

Usage

These libraries are still fairly immature. For now, you will have to clone this repo and build it yourself. Setting up CI and deploying to Maven Central is still in our future.

See each respective module for documentation on its usage.

Contributing

We are happy to talk to you about new features or pull requests.

  • For bugfixes, submit a PR.
  • For new features, create a Github issue first, so we can discuss your plans. Then, submit a PR.
com.salesforce.servicelibs

Salesforce

A variety of vendor agnostic projects which power Salesforce

Versions

Version
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1