Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/reference/node_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ $transport = TransportBuilder::create()

### Using a custom NodePool, Selector and Resurrect [_using_a_custom_nodepool_selector_and_resurrect]

::::{note}
The Elasticsearch PHP client can be used to connect to on-premises, Elastic Cloud, or Serverless deployments. When using Elastic Cloud or Serverless, there is no need to configure a custom NodePool — the default one is sufficient.
::::

If you want you can implement your custom node pool algorithm. We provided a [NodePoolInterface](https://github.com/elastic/elastic-transport-php/blob/master/src/NodePool/NodePoolInterface.php)

You can also customize the Selector and the Resurrect components of the node pool. You can use the following interfaces for the implementation:
Expand Down
Loading