《gRPC与云原生应用开发:以Go和Java为例》 案例代码
Welcome
Welcome to the resource repository of the book "gRPC - Up and Running".
All the samples of this repository require to have the accompanying book gRPC Up and Running. Each sample is based on a real-world use case and details of the use case can be found in the respective chapter of the book.
Don't have gRPC Up and Running book yet?
You can purchase it from following book sellers worldwide.
Prerequisites
-
Installing Go
Download the latest Go distribution file from Go’s official download page and follow the steps to install Go language.
-
Installing Java
Samples are tested in JDK 1.8 version. Recommended to install JDK 1.8 version. Java official downland page
-
Installing Gradle
Gradle is required for builing and running all the Java samples. So, please install Gradle if you plan to try out Java samples of the book.
-
Installing protoc
protoc is required for generating code for your protocol buffer based gRPC service definitions (IDLs). Hence please install if you plan to use code generation.
Samples from the gRPC Up and Running Book
-
Chapter 01 - Introduction to gRPC
- No code samples required for this chapter.
-
Chapter 02 - Getting Started with gRPC
-
Chapter 03 - gRPC Communication Patterns
-
Chapter 04 - gRPC Under the Hood
- No code samples required for this chapter.
-
Chapter 05 - gRPC Beyond the Basics
-
Chapter 06 - Secured gRPC
-
Chapter 07 - Running gRPC in Production
-
Chapter 08 - The gRPC Ecosystem
Authors
Kasun Indrasiri
Kasun Indrasiri is an author and an evangelist of microservices and enterprise integration architecture with over ten years of experience in building distributed systems. He is the director of Integration Architecture at WSO2 and the product manager of the WSO2 Enterprise Integrator. He has authored Microservices for Enterprise (Apress, 2018) and Beginning WSO2 ESB (Apress, 2017) and has spoken at several conferences, including the O’Reilly Software Architecture Conference 2019 in San Jose and GOTO Con 2019 in Chicago, and WSO2 Conferences in San Francisco, London, and Barcelona. Kasun lives in San Jose, California, and has founded the “Silicon Valley Microservices, APIs and Integration” Meetup, which is one of the largest microservices meetups in the San Francisco Bay area..
Danesh Kuruppu
Danesh Kuruppu is an associate technical lead at WSO2 with expertise in microservices, messaging protocols, and service governance. Danesh has spearheaded the development
of gRPC language implementation and microservices framework.