I play with ElasticSearch REST API via 9200 port.
Official Java library client connect to 9300 port.
What is the difference between port API?
I want to pass logging events into ElasticSearch and look to Bulk API:
- https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-docs-bulk.html
- https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
What bother me the most is that Java API through PreBuiltTransportClient
bring a lot of dependencies that is totally unnecessary overhead if plug Client into application (why I need org.apache.lucene
jars in app??).
Is there any performance difference, do they provide same level of reliability?