I have elasticsearch v 5.4.0 running on mysite.com:9300, With x-pack auth:
login: mylogin
password: mypassword
And I have java + kotlin application with Spring Data Elasticsearch v 3.0.0.M4:
compile group: 'org.springframework.data', name: 'spring-data-elasticsearch', version: '3.0.0.M4'
Is there any way to create application.yml to connect to elasticsearch?
I find only examples for elasticsearch-2.4.4 version:
spring:
data:
elasticsearch:
cluster-nodes: mysite.com:9300
properties:
shield:
user: "mylogin:mypassword"