Skip to content

Commit 3b8ca40

Browse files
author
Alexander Furer
committed
Release version 2.1.0
1 parent 596087e commit 3b8ca40

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
2020
}
2121
dependencies {
22-
compile('org.lognet:grpc-spring-boot-starter:2.0.5')
22+
compile('org.lognet:grpc-spring-boot-starter:2.1.0')
2323
}
2424
----
2525
@@ -44,7 +44,7 @@ The starter supports also the `in-process server`, which should be used for tes
4444
inProcessServerName: myTestServer <2>
4545
----
4646
<1> Disables the default server (`NettyServer`).
47-
<2> Enables the in-process server.
47+
<2> Enables the `in-process` server.
4848
4949
[NOTE]
5050
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>>).
@@ -154,8 +154,6 @@ public class GreeterService extends GreeterGrpc.GreeterImplBase{
154154
----
155155

156156

157-
158-
159157
=== Custom gRPC Server Configuration
160158

161159
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. +
@@ -180,8 +178,9 @@ public class MyGRpcServerBuilderConfigurer extends GRpcServerBuilderConfigurer()
180178
----
181179

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

186185
== Eureka Integration
187186

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=2.0.6-SNAPSHOT
1+
version=2.1.0
22
group=org.lognet
33
description=Spring Boot starter for Google RPC.
44
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter

0 commit comments

Comments
 (0)