The community-cluster is a microservice cluster composed of two types of services: gRPC services and rpc gateway services. gRPC services are independent functional implementation modules, while rpc gateway services mainly serve to forward requests to gRPC services and assemble data.
The community-cluster service cluster is built using the sponge tool, which automatically separates business logic and non-business logic code when generating gRPC service and rpc gateway service code. The benefit of separating business logic from non-business logic is that it allows developers to focus on core business logic code, greatly reducing the difficulty of building a microservice cluster and reducing the need for manual coding. Click to view the complete project code of the microservice cluster.