SearchClientTimeout

@Configuration(proxyBeanMethods = false)
class SearchClientTimeout

The response timeout of the client Spring Boot builds for this server's Elasticsearch store, as Operate › Elasticsearch tells an operator to set it ("A server that stops answering"). Boot's client has none, and its socket timeout does not end an exchange on a connection the pool reuses: a paused Elasticsearch would hold the client's connections until it answered, while the store's operation-timeout fails only the callers. A bean of its own beside SearchRequestsConfiguration's counting one: Spring Boot applies every Rest5ClientBuilderCustomizer bean, each of its callbacks in turn.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@Bean
fun searchResponseTimeout(): Rest5ClientBuilderCustomizer