Hey Team,
I am upgrading from transport client to high level rest client and there are some client level settings I could not find in high level rest client.
I was able to upgrade almost all the code but was not able to find some methods used for client initialization. client.transport.sniff , client.transport.ping_timeout , client.transport.nodes_sampler_interval
I found sniffer in low level client ,is that same as client.transport.sniff ?
I also found connect.timeout and socket.timeout in hlrc, are those similar to client.transport.ping_timeout?
then what about client.transport.nodes_sampler_interval?
If you want to sniff the cluster, that's totally optional, you can use the sniffer. I'm not using myself a sniffer as I prefer to control myself the list of the nodes I'm going to connect to.
Yes, I was thinking of upgrading to the java api client but I found the documentation a bit incomplete so for the meantime I did the HLRC and will gradually upgrade to the Java Api client. So as per the answer in my new code it is basically not needed to copy paste the old deprecated settings. So I can consider that if in the hlrc initialization if the old settings are not mentioned it is no longer needed?
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.