[ 
https://issues.apache.org/jira/browse/BEAM-14000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nishant jain updated BEAM-14000:
--------------------------------
    Description: 
When using both username/password and ssl keystore, ElasticSearchIO doesnot 
Create correct restclient.

 

Firstly, it sets HttpClientConfigCallback using httpAsyncClientBuilder if 
username and passowrd is used. Afterwards, it will replace 
HttpClientConfigCallback to httpClientBuilder is ssl store is used, hence 
losing the credentials provider

  was:
When using both username/password and ssl keystore, ElasticSearchIO doesnot 
Create correct restclient.

 

Firstly, it sets HttpClientConfigCallback using httpAsyncClientBuilder if 
username and passowrd is use. Aterwars, it will replace 
HttpClientConfigCallback to httpClientBuilder is ssl store is used, hence 
losing the credentials provider


> Elastic search IO doesnot work when both username/password and keystore are 
> used
> --------------------------------------------------------------------------------
>
>                 Key: BEAM-14000
>                 URL: https://issues.apache.org/jira/browse/BEAM-14000
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: nishant jain
>            Priority: P2
>
> When using both username/password and ssl keystore, ElasticSearchIO doesnot 
> Create correct restclient.
>  
> Firstly, it sets HttpClientConfigCallback using httpAsyncClientBuilder if 
> username and passowrd is used. Afterwards, it will replace 
> HttpClientConfigCallback to httpClientBuilder is ssl store is used, hence 
> losing the credentials provider



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to