Skip to content

Commit

Permalink
feature: Add multi-node connection pool (#189)
Browse files Browse the repository at this point in the history
* Implement static node list connection pool
* trait for setting connection distribution. Defaults to RoundRobin.
* Allow reseeding of nodes on MultiNodeConnection
* Implement Sniff Nodes request

---------

Co-authored-by: Stephen Leyva <sleyva1297@gmail.com>
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
  • Loading branch information
3 people authored Aug 23, 2024
1 parent b70057b commit 2fbcdd1
Show file tree
Hide file tree
Showing 2 changed files with 376 additions and 15 deletions.
2 changes: 1 addition & 1 deletion elasticsearch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ url = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "3"
tokio = { version = "1", default-features = false, features = ["macros", "net", "time", "rt-multi-thread"] }
void = "1"

[dev-dependencies]
Expand All @@ -50,7 +51,6 @@ os_type = "2"
regex="1"
#sysinfo = "0.31"
textwrap = "0.16"
tokio = { version = "1", default-features = false, features = ["macros", "net", "time", "rt-multi-thread"] }
xml-rs = "0.8"

[build-dependencies]
Expand Down
Loading

0 comments on commit 2fbcdd1

Please sign in to comment.