RPC Framework

Common features and configuration methods for RPC framework communication, including streaming communication, timeout settings, filter interceptors, additional parameters, health checks, etc.

Streaming Communication

Streaming communication

Timeout Duration

Configure Timeout Duration

Communication Protocol

Configuration of Communication Protocol

Exception Type Return Values

When the server fails to process a request, Dubbo supports returning error type values. This example demonstrates how to handle exception type return values.

Health Check

Health Check

Request Retry

Request Retry

Passing Additional Parameters

Passing Additional Parameters Attachment

Startup check

By default, the framework checks the availability of dependent services (whether the registry has available addresses) at startup. If not available, it throws an exception to prevent the application from finishing initialization, allowing issues to be discovered early during deployment. The default is check=“true” and waits for 3 seconds.

Filter Interceptor

Filter Interceptor