/saluki

Spring Boot starter module for gRPC framework.

Primary LanguageJavaApache License 2.0Apache-2.0

README: English | 中文

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

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>io.github.frostingwolf</groupId>
	<artifactId>spring-boot-starter-saluki</artifactId>
	<version>1.5.7.RELEASE</version>
</dependency>
<dependency>
	<groupId>io.github.frostingwolf</groupId>
	<artifactId>spring-boot-starter-saluki-monitor</artifactId>
	<version>1.5.7.RELEASE</version>
</dependency>

About gateway

gateway have new project build on netty/oauth2, the project is not complete, gateway