Skip to content

2.0.5

Compare
Choose a tag to compare
@jillesvangurp jillesvangurp released this 20 Jun 05:11
· 286 commits to master since this release

What's Changed

  • add new experimental SniffingNodeSelector with affinity for nodes by @jillesvangurp in #76. This enables a smarter strategy for selecting nodes that periodically updates its list of available nodes as well as tries to use the same node based on either the thread name or a specified AffinityId co-routine scope. I neither is available it falls back to using randomly selected ndes. The round robin strategy is still used by default and you should not use the SniffingNodeSelector if your cluster is behind a load balancer or running in docker.

Compatibility breaking changes:

  • RestClient.nextNode is now a suspend function

Full Changelog: 2.0.4...2.0.5