Lokesh Khurana created PHOENIX-7763:
---------------------------------------
Summary: Accept HAGroupName in Urls for HA Connection to improve
backward compatibility.
Key: PHOENIX-7763
URL: https://issues.apache.org/jira/browse/PHOENIX-7763
Project: Phoenix
Issue Type: Sub-task
Reporter: Lokesh Khurana
Assignee: Lokesh Khurana
Currently, when creating High Availability (HA) connections in Apache Phoenix,
clients are required to pass the {{HAGroupName}} via the
{{phoenix.ha.group.name}} property. If this property is missing, the HA
connection creation fails.
This requirement forces external clients to modify their application code to
explicitly pass this property when migrating to an HA setup, creating a barrier
to adoption.
The target of this task is to enhance the connection logic to accept the
{{phoenix.ha.group.name}} property directly via the JDBC connection URL. This
allows the Phoenix driver to extract the HA group name from the connection
string itself, eliminating the strict requirement for it to be passed as a
separate property.
his change makes tools like {{sqlline}} significantly more accessible for HA
connections, as the entire configuration can be contained within a single
connection string.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)