# grpcdemo **Repository Path**: who7708/grpcdemo ## Basic Information - **Project Name**: grpcdemo - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-03-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # grpcdemo grpc demo ## 生成grpc代码 ``` mvn clean compile ``` ## grpc 插件配置 ``` org.xolstice.maven.plugins protobuf-maven-plugin 0.6.1 com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier} grpc-java io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier} compile compile-custom ``` 也是官方推荐使用的方式,其中 `protoc.version` 和 `grpc.version` 修改为对应版本号。如: ``` 1.17.1 3.6.1 ```