Class RebalanceLeadersAPI


  • public class RebalanceLeadersAPI
    extends Object
    V2 API for balancing shard leaders in a collection across nodes.

    This API (POST /v2/collections/collectionName {'rebalance-leaders': {...}}) is analogous to the v1 /admin/collections?action=REBALANCELEADERS command.

    See Also:
    RebalanceLeadersPayload