/saluki

Spring Boot starter module for gRPC framework.

Primary LanguageJavaApache License 2.0Apache-2.0

README: English | 中文

Build Status License

Overview

  • saluki is a microservice framework rely on grpc-java

Features

  • support genric,proxy,stub module
  • provide the service definition by interface,and the parameter definition by pojo,developer can develop service by interface and pojo
  • service registry and discover
  • service route rule config(sample)
  • failover by retry
  • hystrix integrated
  • spring-boot integrated
  • validator interfrated

Detail

  • saluki-plugin provide maven or gradle plugin to generate interface and pojo
  • saluki-serializer provide transform pojo to protobuf model and protobuf model to pojo
  • saluki-registry provide consul registered and discover

Compile

   mvn install -Dmaven.test.skip=true
   

Sample

 sample

Quick Start

  • dependency
<dependency>
	<groupId>com.quancheng.saluki</groupId>
	<artifactId>spring-boot-starter-saluki</artifactId>
	<version>1.5.6.RELEASE</version>
</dependency>
<dependency>
	<groupId>com.quancheng.saluki</groupId>
	<artifactId>spring-boot-starter-saluki-monitor</artifactId>
	<version>1.5.6.RELEASE</version>
</dependency>