RestateClientAutoConfiguration

@Configuration
@EnableConfigurationProperties(value = RestateClientProperties::class)
open class RestateClientAutoConfiguration

Configuration for Restate's Client, to send requests to Restate services.

Auto instrumentation

When Micrometer's JDK HttpClient instrumentation is on the classpath and a MeterRegistry bean is available, the underlying HttpClient is instrumented. To enable it, make sure spring-boot-starter-actuator and io.micrometer:micrometer-java11 are in the classpath.

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun client(restateClientProperties: RestateClientProperties): Client
Link copied to clipboard
@Bean
open fun restateClient(context: ApplicationContext, restateClientProperties: RestateClientProperties): Client