Interface RestateService

  • All Superinterfaces:
    io.grpc.BindableService, dev.restate.sdk.common.BlockingService, dev.restate.sdk.common.Service

    public interface RestateService
    extends dev.restate.sdk.common.BlockingService
    Marker interface for Restate services implemented using the RestateContext interface.

    Error handling

    The error handling of Restate services works as follows:
    • When throwing TerminalException, the failure will be used as invocation response error value
    • When throwing any other type of exception, the failure is considered "non-terminal" and the runtime will retry it, according to its configuration