Skip to content

Add Spring gRPC Server Support #49044

@philwebb

Description

@philwebb

Add support for gRPC server applications with features take from spring-grpc-server-spring-boot-autoconfigure.

The following differences are anticipated:

  • Health support will be deferred to #49048.
  • Security support will be deferred to #49047.
  • Observation support will be deferred to #49056
  • The ServletEnvironmentPostProcessor will be considered in #49050 as we'd rather keep the user in control of that property.
  • Customizers will not initially be applied automatically to in-process servers #49151
  • GrpcServerProperties will be restructured slightly and host/port properties will be dropped in favor of just using the address property (Having both has caused issues in the past).
  • Some auto-configurations can be consolidated.
  • Properties can be applied using a ServerBuilderCustomizer.
  • A custom GrpcServletRegistration class can be used to aid with conditions.
  • It might be possible to simplify OnGrpcNativeServerCondition in favor of ordered configurations with a first wins strategy.
  • Support for @GrpcAdvice will be added with #49053.

Commits from Spring gRPC to consider:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions