Package dev.restate.sdk
Interface Component
-
- All Superinterfaces:
io.grpc.BindableService,dev.restate.sdk.common.BlockingComponent,dev.restate.sdk.common.Component
- All Known Implementing Classes:
JavaComponent
public interface Component extends dev.restate.sdk.common.BlockingComponentMarker interface for Restate components.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