ravendb / ravendb-go-client

MIT License
39 stars 16 forks source link

Setting Load balance behavior #208

Open kidus-tiliksew opened 6 months ago

kidus-tiliksew commented 6 months ago

Is there a way to set Load balance behavior to something like UseSessionContext with this client

maciejaszyk commented 6 months ago

Hi, currently we support only setting ReadBalanceBehavior: https://ravendb.net/docs/article-page/6.0/csharp/client-api/configuration/load-balance/read-balance-behavior#read-balance-behavior Example: https://github.com/ravendb/ravendb-go-client/blob/4474ee7aa0face483608ce4200e3f52ae5c8aced/tests/client_configuration_test.go#L26-L31