kubernetes-elasticsearch-cluster icon indicating copy to clipboard operation
kubernetes-elasticsearch-cluster copied to clipboard

how can i use port 9300 to connect elasticsearch cluster?

Open jinqinn opened this issue 7 years ago • 3 comments

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

jinqinn avatar Jan 08 '18 11:01 jinqinn

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

Dexyon avatar Jan 08 '18 18:01 Dexyon

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

jinqinn avatar Jan 09 '18 01:01 jinqinn

@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

pkrishnath avatar Mar 19 '18 14:03 pkrishnath