From e8d109fb0063fdf7437cbe71b10bc70a0ed15382 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Fri, 25 Apr 2025 02:59:37 +0700 Subject: [PATCH] Fix typos in couple of asciidoc files Signed-off-by: Tran Ngoc Nhan --- spring-grpc-docs/src/main/antora/modules/ROOT/pages/client.adoc | 2 +- spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/client.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/client.adoc index 8634d32..fa9e84d 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/client.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/client.adoc @@ -200,7 +200,7 @@ SimpleGrpc.SimpleBlockingStub stub(GrpcChannelFactory channels, @LocalGrpcPort i } ---- -The channel can be configured via `application.properties` as well, by using the ``${local.grpc.port}` property placeholder. +The channel can be configured via `application.properties` as well, by using the `${local.grpc.port}` property placeholder. The `@Bean` where you create the stub must still be `@Lazy` for the same reason as above. For example: diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc index a192d13..542727a 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc @@ -157,7 +157,7 @@ A `GrpcExceptionHandler` can be used to handle exceptions of a specific type, re == Testing -If you include `spring-grpc-test` in your project, your gRPC server in a `@SpringBootTest` can be started in-process (i.e. not listening on a network port) by enabling the in-process server +If you include `spring-grpc-test` in your project, your gRPC server in a `@SpringBootTest` can be started in-process (i.e. not listening on a network port) by enabling the in-process server. All clients that connect to any server via the autoconfigured `GrpcChannelFactory` will be able to connect to it. You can switch the in-process server on by setting `spring.grpc.inprocess.enabled` to `true` or by adding the `@AutoConfigureInProcessTransport` annotation to your `@SpringBootTest` class.