Class RestateRunnerBuilder

    • Method Detail

      • withRestateContainerImage

        public RestateRunnerBuilder withRestateContainerImage​(java.lang.String restateContainerImage)
        Override the container image to use for the Restate runtime.
      • withAdditionalEnv

        public RestateRunnerBuilder withAdditionalEnv​(java.lang.String key,
                                                      java.lang.String value)
        Add additional environment variables to the Restate container.
      • withConfigFile

        public RestateRunnerBuilder withConfigFile​(java.lang.String configFile)
        Mount a config file in the Restate container.
      • bind

        public RestateRunnerBuilder bind​(java.lang.Object service)
        Add a Restate service to the endpoint. This will automatically discover the generated factory based on the class name.

        You can also manually instantiate the ServiceDefinition using bind(ServiceDefinition).

      • bind

        public <O> RestateRunnerBuilder bind​(dev.restate.sdk.common.syscalls.ServiceDefinition<O> serviceDefinition,
                                             O options)
        Add a Restate service to the endpoint, setting the options.
      • of

        public static RestateRunnerBuilder of​(dev.restate.sdk.http.vertx.RestateHttpEndpointBuilder endpointBuilder)
        Create from RestateHttpEndpointBuilder.