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.BlockingComponent
    Marker 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
    • Method Summary

      • Methods inherited from interface io.grpc.BindableService

        bindService
      • Methods inherited from interface dev.restate.sdk.common.Component

        definition