Package-level declarations
Types
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.
The requests an Elasticsearch client sends, counted by kind as an interceptor of its HTTP client, which sees each request once, as sent: the last segment of the path when it is one of KINDS (_bulk, _refresh, _update_by_query), otherwise other. So a measurement reads what the sink sent with nothing in the store that counts for a benchmark. The counts are cumulative from the start and logged once a second and on stop (search-requests {json} at WARN, the level the server logs at), as BenchSignals logs its own.
SearchRequests on the client Spring Boot builds for the Elasticsearch store: its HTTP client counts each request it sends, and the counts are logged once a second and on stop.
Functions
The benchmark server (TransferServer) with an Elasticsearch store, for the measurements of the search and the sink: its profile search (application-search.yaml) names the store and puts the account's events on it, which starts the account's Elasticsearch sink. Its client counts its requests (SearchRequestsConfiguration) and ends one the server does not answer at its response timeout (SearchClientTimeout). The benchmark server's own distribution stays without Elasticsearch, so no other suite's classpath, start-up or memory changes.