Skip to content

Commit c07d4de

Browse files
authored
Add additional config props metadata file (#33)
This commit adds the additional-spring-configuration-metadata.json file to the autoconfigure module so that we can add default values for properties whose defaults can not be determined.
1 parent 3cb6ce3 commit c07d4de

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

spring-grpc-docs/src/main/antora/modules/ROOT/partials/_configprops.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
|spring.grpc.server.keep-alive.timeout | `+++20s+++` | Maximum time to wait for read activity after sending a keep alive ping. If sender does not receive an acknowledgment within this time, it will close the connection (default 20s).
2828
|spring.grpc.server.max-inbound-message-size | `+++4194304B+++` | Maximum message size allowed to be received by the server (default 4MiB).
2929
|spring.grpc.server.max-inbound-metadata-size | `+++8192B+++` | Maximum metadata size allowed to be received by the server (default 8KiB).
30-
|spring.grpc.server.port | | Server port to listen on. When the value is 0, a random available port is selected. The default is 9090.
30+
|spring.grpc.server.port | `+++9090+++` | Server port to listen on. When the value is 0, a random available port is selected. The default is 9090.
3131
|spring.grpc.server.shutdown-grace-period | `+++30s+++` | Maximum time to wait for the server to gracefully shutdown. When the value is negative, the server waits forever. When the value is 0, the server will force shutdown immediately. The default is 30 seconds.
3232
|spring.grpc.server.ssl.bundle | | SSL bundle name.
3333
|spring.grpc.server.ssl.enabled | | Whether to enable SSL support. Enabled automatically if "bundle" is provided unless specified otherwise.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"groups": [],
3+
"properties": [
4+
{
5+
"name": "spring.grpc.server.port",
6+
"defaultValue": "9090"
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)