diff options
| author | hiddenpath <[email protected]> | 2025-06-07 15:20:53 +0300 |
|---|---|---|
| committer | hiddenpath <[email protected]> | 2025-06-07 15:46:39 +0300 |
| commit | 8f827c09acb5a8559c20af8a35c90720b293ae18 (patch) | |
| tree | 8d6263029cbde5ebd3deee552c1175bb8dfd4af9 /contrib/python/stack-data/stack_data/core.py | |
| parent | 8b9e7c660f2db0f5e08f178fc2d584c3c071da17 (diff) | |
Simplify multiproxy API
This pull request refactors the RPC client creation process to enhance clarity and flexibility.
The previous method of specifying the Unix domain socket path directly in
```
CreateRpcClient(
"socketPath",
TCreateClientOptions()
.UseProxyUnixDomainSocket(true)
.MultiproxyTargetCluster("clusterName"));
```
has been changed to
```
CreateRpcClient(
"clusterName",
TCreateClientOptions()
.JobUnixDomainSocketPath("socketPath"));
```
Also fixes a minor bug, when serverName was set to socket path instead of cluster name.
commit_hash:d2e19d713304fd99c864377203642cff7a4652e7
Diffstat (limited to 'contrib/python/stack-data/stack_data/core.py')
0 files changed, 0 insertions, 0 deletions
