Skip to content

Add AsyncGrpcExceptionHandlerFunction for async/suspend error handling #6697

@Hun425

Description

@Hun425

GrpcExceptionHandlerFunction.apply() returns Status synchronously, making it impossible to perform async/suspend operations (e.g., i18n lookup) without runBlocking in ServerCall.close(). This risks event loop thread starvation.

Related discussion: #6693

Proposing AsyncGrpcExceptionHandlerFunction that returns CompletableFuture<Status>, following the same pattern as AsyncServerInterceptor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions