Skip to content

Commit

Permalink
Release version 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Furer committed Sep 5, 2017
1 parent 596087e commit 3b8ca40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
}
dependencies {
compile('org.lognet:grpc-spring-boot-starter:2.0.5')
compile('org.lognet:grpc-spring-boot-starter:2.1.0')
}
----
Expand All @@ -44,7 +44,7 @@ The starter supports also the `in-process server`, which should be used for tes
inProcessServerName: myTestServer <2>
----
<1> Disables the default server (`NettyServer`).
<2> Enables the in-process server.
<2> Enables the `in-process` server.
[NOTE]
If you enable both the `NettyServer` and `in-process` server, they will both share the same instance of `HealthStatusManager` and `GRpcServerBuilderConfigurer` (see <<Custom gRPC Server Configuration>>).
Expand Down Expand Up @@ -154,8 +154,6 @@ public class GreeterService extends GreeterGrpc.GreeterImplBase{
----




=== Custom gRPC Server Configuration

To intercept the `io.grpc.ServerBuilder` instance used to build the `io.grpc.Server`, you can add bean that inherits from `org.lognet.springboot.grpc.GRpcServerBuilderConfigurer` to your context and override the `configure` method. +
Expand All @@ -180,8 +178,9 @@ public class MyGRpcServerBuilderConfigurer extends GRpcServerBuilderConfigurer()
----

[NOTE]
If you enable both `NettyServer` and `in-process` servers, the `configure` method will be invoked on the same instance og configurer.
If you need to differentiate between the passed `serverBuilder`s, you can check the type. This is the current limitation.
If you enable both `NettyServer` and `in-process` servers, the `configure` method will be invoked on the same instance of configurer. +
If you need to differentiate between the passed `serverBuilder`s, you can check the type. +
This is the current limitation.

== Eureka Integration

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.0.6-SNAPSHOT
version=2.1.0
group=org.lognet
description=Spring Boot starter for Google RPC.
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter
Expand Down

0 comments on commit 3b8ca40

Please sign in to comment.