Fix typos in couple of asciidoc files

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan
2025-04-25 02:59:37 +07:00
committed by GitHub
parent bf253a7467
commit e8d109fb00
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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.