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
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>
- start spring boot main function,and viste http://localhost:8080/doc, you can test your service
About gateway
gateway have new project build on netty/oauth2, the project is not complete, gateway