In the transport client settings builder, I'm currently using node.name along with hosts. My settings builder looks like,
Settings.builder().put("cluster.name", "abc").put("node.name", "node1").put("client.transport.sniff", true);
..
client.addTransportAddress(....)
..
here ^, is node.name a mandatory field? I have seen some examples which includes node.name and some examples which doesn't include. Its not very clear from documentation. What happens when we leave node.name in the settings ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.