Hi,
I have implemented the same configuration to use aws elasticsearch but unfortunately default elasticsearchClient is getting loaded.
I am getting error as
Bean method 'elasticsearchClient' in 'ElasticsearchAutoConfiguration' not loaded because @ConditionalOnProperty (spring.data.elasticsearch.cluster-nodes) did not find property 'cluster-nodes'
Means this is not getting used configuration of RestHighLevelClient.
Please help me on this