Skip to content

Determine when to apply gRPC ServerInterceptorFilter and ServerServiceDefinitionFilter #49151

@philwebb

Description

@philwebb

In the current Spring gRPC auto-configuration the ServerInterceptorFilter and ServerServiceDefinitionFilter beans only apply automatically to in-process servers.

We'd like to keep things consistent and either not apply them directly to any server or always apply them to all servers.

There are some downsides with applying things automatically because whilst the ServerServiceDefinitionFilter can make a filter decision based on the GrpcServerFactory, the ServerInterceptorFilter cannot. Perhaps an update can be made to Spring gRPC for that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions