Skip to content

Commit 0ed0f1b

Browse files
committed
closes #346
1 parent 5060f86 commit 0ed0f1b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ grpcSpringBoot {
472472
}
473473
----
474474

475-
Here are the tests and reactive grpc sample service.
475+
Here are the https://github.com/LogNet/grpc-spring-boot-starter/blob/master/grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc/reactive/ReactiveDemoTest.java[tests] and https://github.com/LogNet/grpc-spring-boot-starter/blob/master/grpc-spring-boot-starter-demo/src/main/java/org/lognet/springboot/grpc/demo/ReactiveGreeterGrpcService.java[reactive grpc sample service].
476476

477477
== Error handling
478478

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
grpcVersion=1.54.0
22

33

4-
springBootVersion=3.0.0
4+
springBootVersion=3.0.5
55
springCloudVersion=2022.0.0
66

77
gradleErrorPronePluginVersion=3.0.1

grpc-spring-boot-starter-gradle-plugin/README.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,23 @@ by applying `com.google.protobuf` gradle plugin.
4242

4343
== Configure
4444

45+
All settings are optional (have reasonable defaults):
4546

4647
[source,groovy]
4748
----
4849
grpcSpringBoot {
4950
grpcSpringBootStarterVersion.set("X.X.X")// <1>
5051
grpcVersion.set("X.X.X")//<2>
5152
protocVersion.set("X.X.X")//<3>
53+
reactiveFeature.set(ReactiveFeature.REACTOR)//<4>
54+
reactiveProtocVersion.set("X.X.X")//<5>
5255
}
5356
----
5457
<1> `io.github.lognet:grpc-spring-boot-starter` version to use, defaults to the same version as this plugin.
5558
<2> `grpc` version to use, defaults to the version the `io.github.lognet:grpc-spring-boot-starter` was compiled with (see version matrix https://github.com/LogNet/grpc-spring-boot-starter/blob/master/ReleaseNotes.md[here])
5659
<3> Version of `com.google.protobuf:protoc` protocol compiler to use (defaults to `3.21.7`)
60+
<4> Enables https://github.com/salesforce/reactive-grpc[salesforce's reactive-grpc] protoc plugin, defaults to `ReactiveFeature.OFF` (supports `ReactiveFeature.REACTOR` and `ReactiveFeature.RX`)
61+
<5> `reactive-grpc` version to use, defaults to `1.2.3`
5762

5863

5964
The version of `com.google.protobuf` can be controlled via `pluginManagement` block :

0 commit comments

Comments
 (0)