Type of issue
Inaccurate
What documentation page is affected
https://www.elastic.co/docs/reference/elasticsearch/clients/java/transport/rest5-client/config/timeouts
What happened?
The text describes using RequestConfigCallback but the example shows a different approach.
Additional info
https://www.elastic.co/docs/reference/elasticsearch/clients/java/transport/rest5-client/config/basic_authentication has a similar problem where it describes HttpClientConfigCallback but the example shows a different approach.