gpt4 book ai didi

elasticsearch - ElasticSearch rest客户端会自动发现集群节点吗?

转载 作者:行者123 更新时间:2023-12-02 22:37:21 24 4
gpt4 key购买 nike

I am using Rest Client of Elastic Search and Elastic Search will have Nodes in a cluster.

If I connect to one node then will it automatically find other nodes of cluster while processing the request and do load balancing ?



还是在创建Rest Client时需要照顾它?

最佳答案

如果“嗅探器”处于 Activity 状态,则在请求(在后台)之前,客户端将更新您的内部节点数据列表。它适用于default clientRest Client
主节点(在集群配置中定义)将执行load balancing

关于elasticsearch - ElasticSearch rest客户端会自动发现集群节点吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46677922/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com