…and add username and password in ClientConfiguration when username or password is not null

Comment From: pivotal-issuemaster

@sjlzcj Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@sjlzcj Thank you for signing the Contributor License Agreement!

Comment From: sjlzcj

Add maxInMemorySize property for ReactiveRestClientAutoConfiguration and add username and password in ClientConfiguration when username or password is not null

Comment From: wilkinsona

We already have a proposal for making the max in-memory size configurable. It is currently scheduled for inclusion in Spring Boot 2.3.

The username and password are already applied by the existing auto-configuration:

https://github.com/spring-projects/spring-boot/blob/7aa5eb169c7e637e9ecb9915be380c341da28883/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveRestClientAutoConfiguration.java#L78-L82

Thanks anyway for your pull request.