You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vaibhav Joshi (Jira)" <ji...@apache.org> on 2023/04/03 05:43:00 UTC

[jira] [Commented] (CALCITE-5581) Implement Basic client side load balancing in Avatica Driver

    [ https://issues.apache.org/jira/browse/CALCITE-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707770#comment-17707770 ] 

Vaibhav Joshi commented on CALCITE-5581:
----------------------------------------

Thanks [~stoty] 

I just checked your comment regarding, Commas in URL. I am wondering if we should expose a property named LB_URLS_SEPARATOR_CHAR to fix this issue.

> Implement Basic client side load balancing in Avatica Driver
> ------------------------------------------------------------
>
>                 Key: CALCITE-5581
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5581
>             Project: Calcite
>          Issue Type: New Feature
>          Components: avatica
>    Affects Versions: 1.33.0
>            Reporter: Vaibhav Joshi
>            Assignee: Vaibhav Joshi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Avatica Basic client side load balancing.docx
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> Implement mechanism to support Client side load balancing by configuring connection properties for load balancing  
> {code:java}
> jdbc:phoenix:thin:
> url=https://<host>:<port>;
> serialization=PROTOBUF;
> authentication=BASIC;
> avatica_user=<userName>;
> avatica_password=<userPw>
> useClientSideLB: [true/false]
> lbStrategy: [RandomDistribution/Sequential/RoundRobin]
> lbURLs: <comma separated URls e.g. URL1, URL2,URL3,...URLn> {code}
> Client should connect to any of the URLs specified in lbURLs ( depending on LB strategy selected).  Please refer to [^Avatica Basic client side load balancing.docx]for more details
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)