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
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPC-server-client-pb

This is a giter8 template that includes a couple of microservices that play the roles of server and client and interact with each other via RPC (serialized as Protocol Buffer). This structure is composed of three SBT modules:

  • The RPC protocol, which is very simple. It exposes a service to lookup a person given a name.
  • The server, which with implements an interpreter of the service defined by the protocol and it runs an RPC server.
  • The client, which consumes the RPC endpoint against the server, and it uses the protocol to know the schema.

Usage

  1. Create a new project:
sbt new frees-io/rpc-server-client-pb.g8

or

g8 frees-io/rpc-server-client-pb.g8

if you have the g8 plugin installed.

  1. Fill the required information (you can see an example below):
...

name [Project Name]: My RPC project
projectDescription [Project Description]: A new RPC project with Freestyle-RPC
project [project-name]: my-rpc-project
package [org.mycompany]: org.mycompany
freestyleRPC [0.14.1]: 0.14.1

...

Template applied in ./my-rpc-project

Releases

Packages

Contributors

Languages

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