dimas-b commented on code in PR #2706: URL: https://github.com/apache/polaris/pull/2706#discussion_r2388815677
########## site/content/in-dev/unreleased/metastores.md: ########## @@ -29,14 +29,45 @@ deprecated EclipseLink persistence backends. This implementation leverages Quarkus for datasource management and supports configuration through environment variables or JVM -D flags at startup. For more information, refer to the [Quarkus configuration reference](https://quarkus.io/guides/config-reference#env-file). +We have 2 options for configuring the persistence backend: +### 1. Relational JDBC metastore with username and password + +using environment variables: ``` POLARIS_PERSISTENCE_TYPE=relational-jdbc QUARKUS_DATASOURCE_USERNAME=<your-username> QUARKUS_DATASOURCE_PASSWORD=<your-password> QUARKUS_DATASOURCE_JDBC_URL=<jdbc-url-of-postgres> ``` +using properties file: + +``` +polaris.persistence.type=relational-jdbc +quarkus.datasource.jdbc.username=<your-username> +quarkus.datasource.jdbc.password=<your-password> +quarkus.datasource.jdbc.jdbc-url=<jdbc-url-of-postgres> +``` Review Comment: Actually, the RDS config may not be easy to convert to upper case. So let's use lower case (with dots and dashes) in all cases. Users have references to Quarkus docs and https://polaris.apache.org/in-dev/unreleased/configuration/ I hope that should be enough input for them to figure out specifics in their deployment env. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
