一、背景说明 项目中使用到了Protobuf,但是因为不知道怎么使用它,所以看起来很高大上, 现在写一个简单的Demo来实现基于RestTemplate的模拟客户端与服务端的远程调用! 二、实操代码 2.1 定义依赖POM文件 <dependencies> <dependency> <groupId>org.springframework.boot