gRPC Chatroom Workshop
  • Setup
  • Exercise 1 - Basics
  • Exercise 2 - Implement Stubs
  • Exercise 3 - Testing the Client
  • Exercise 4 - Bidirectional Streaming
  • Exercise 5 - Deployment to Kubernetes
  • Exercise 6 - Metadata and Interceptors
  • Exercise 7 - Context Propagation
  • Exercise 8 - Tracing
gRPC Chatroom Workshop
  • Docs »
  • Welcome to gRPC Java Chatroom Workshop!
  • View page source

Welcome to gRPC Java Chatroom Workshop!¶

In this workshop, we’ll be build a real-time chat client and server w/ gRPC and Java.

A Scala Version of the workshop is here

  • Setup
    • Pre-Requisites
    • Getting the Code
    • Compile
    • IntelliJ Setup
  • Exercise 1 - Basics
    • Create a Proto File
    • Configure Maven
    • Generate Stubs
  • Exercise 2 - Implement Stubs
    • Implement Server Stub
    • Write the Server main entry
    • Run the Server
  • Exercise 3 - Testing the Client
    • Testing from the Client
    • Run the Client
    • Deadlines
  • Exercise 4 - Bidirectional Streaming
    • Protobuf Definitions for Chat Stream Service
    • Implement Chat Stream Service
    • Implement Chat CLI Client
  • Exercise 5 - Deployment to Kubernetes
    • Google Cloud Console Setup
    • Deploy a Kubernetes Cluster
    • Using Kubernetes Services
    • Kubernetes Deployment
  • Exercise 6 - Metadata and Interceptors
    • Define the Metadata
    • Passing Metadata from a Client
  • Exercise 7 - Context Propagation
    • Metadata/Context Propagation
    • Enforce Role-based Access
    • Client Call Credential
  • Exercise 8 - Tracing
    • Tracing
    • Define a Reporter and Tracer

Authors - Ryan Knight @knight_cloud and Ray Tsang @saturnism

Based on the original Workshop of Ray Tsang

Next

© Copyright 2017, Ryan Knight, Ray Tsang.

Built with Sphinx using a theme provided by Read the Docs.