pires / kubernetes-elasticsearch-cluster

Elasticsearch cluster on top of Kubernetes made easy.
Apache License 2.0
1.51k stars 690 forks source link

how can i use port 9300 to connect elasticsearch cluster? #164

Open jinqinn opened 6 years ago

jinqinn commented 6 years ago

i want to use transportclient api to connect es, but it doesnot work. help me :(

Dexyon commented 6 years ago

What did you try? Do you want to try it in the same namespace or another namespace or from the internet?

jinqinn commented 6 years ago

i want to connect es cluster by JAVA TransportClient api (TCP) # @Dexyon

pkrishnath commented 6 years ago

@goodqinjin , You can not give kubernete-service-name:9300 which is not a node for java client. I have ended up with https://github.com/VanRoy/spring-data-jest