Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yoann Rodière <[email protected]>
  • Loading branch information
gsmet and yrodiere authored Jul 15, 2020
1 parent b7384a1 commit c02eb2b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ public class ElasticsearchConfig {
public String protocol;

/**
* The username used for authentication.
* The username for basic HTTP authentication.
*/
@ConfigItem
public Optional<String> username;

/**
* The password used for authentication.
* The password for basic HTTP authentication.
*/
@ConfigItem
public Optional<String> password;
Expand All @@ -52,6 +52,9 @@ public class ElasticsearchConfig {
/**
* The number of IO thread.
* By default, this is the number of locally detected processors.
* <p>
* Thread counts higher than the number of processors should not be necessary because the I/O threads rely on non-blocking operations,
* but you may want to use a thread count lower than the number of processors.
*
* @see <a href="https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_number_of_threads.html">number of
* threads</a>
Expand Down

0 comments on commit c02eb2b

Please sign in to comment.