Move named channel back into autoconfigure module

This commit moves the channel config ("NamedChannel") back to
autoconfigure module as the effort to move to core turns out to
be more trouble than it is worth at this time.

Fixes #92
This commit is contained in:
Chris Bono
2025-01-13 00:27:48 -06:00
committed by Dave Syer
parent 5ef993fe19
commit 87e26c378e
11 changed files with 550 additions and 655 deletions

View File

@@ -1,7 +1,7 @@
|===
|Name | Default | Description
|spring.grpc.client.channels | |
|spring.grpc.client.channels | | Map of channels configured by name.
|spring.grpc.client.default-channel.address | `+++static://localhost:9090+++` | The target address uri to connect to.
|spring.grpc.client.default-channel.default-load-balancing-policy | `+++round_robin+++` | The default load balancing policy the channel should use.
|spring.grpc.client.default-channel.enable-keep-alive | `+++false+++` | Whether keep alive is enabled on the channel.
@@ -46,4 +46,4 @@
|spring.grpc.server.ssl.enabled | | Whether to enable SSL support. Enabled automatically if "bundle" is provided unless specified otherwise.
|spring.grpc.server.ssl.secure | `+++true+++` | Flag to indicate that client authentication is secure (i.e. certificates are checked). Do not set this to false in production.
|===
|===