On point ii), does this mean that the Servlet is used to do all inter-
node communication? Is that less efficient than using Java Sockets?
If the above is true then implementing SSL is just a matter of
plugging in the default application server SSL for servlets?
On Feb 9, 8:15 am, Shay Banon kim...@gmail.com wrote:
On Wednesday, February 8, 2012 at 8:22 PM, davrob2 wrote:
Hi, I have a few questions about the Wares plugin:
i) Do I have to use REST / http to query ES, or can I still use the
java client, which will be deployed in the same application server
If its embedded, then you can just use the Node itself to talk to the cluster. You can get it from the servlet context attribute:https://github.com/elasticsearch/elasticsearch-transport-wares/blob/m....
ii) Does Wares automatically encrypt the Java port (Netty) cluster
communication using SSL. If not how is this done, Shay seem to
indicate that this is possible in his comment here:
It does not use netty for HTTP in this case, it will plug (based on the path you provide) as a Servlet and use it to do the communication.