Skip to content

Commit

Permalink
Update description for servlet server config prop
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Bono <[email protected]>
  • Loading branch information
onobc committed Feb 12, 2025
1 parent bd4ae1b commit ab72aa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
|spring.grpc.server.observations.enabled | `+++true+++` | Whether to enable Observations on the server.
|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.
|spring.grpc.server.reflection.enabled | `+++true+++` | Whether to enable Reflection on the gRPC server.
|spring.grpc.server.security.csrf.enabled | `+++false+++` | Whether to enable CSRF protection on gRPC requests.
|spring.grpc.server.servlet.enabled | `+++true+++` | Whether to use a servlet server in a servlet-based web application. When the value is false, a native gRPC server will be forced.
|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.
|spring.grpc.server.ssl.bundle | | SSL bundle name.
|spring.grpc.server.ssl.client-auth | `+++none+++` | Client authentication mode.
|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.

|===
|===
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{
"name": "spring.grpc.server.servlet.enabled",
"type": "java.lang.Boolean",
"description": "Whether to use a servlet server in a servlet-based web application (set to false to force a native gRPC server).",
"description": "Whether to use a servlet server in a servlet-based web application. When the value is false, a native gRPC server will be forced.",
"defaultValue": true
},
{
Expand Down

0 comments on commit ab72aa3

Please sign in to comment.