MonkeyCanCode opened a new pull request, #1945:
URL: https://github.com/apache/polaris/pull/1945

   When attempting to use the `polaris-admin-tool.jar` to bootstrap a realm, 
the application fails with a 
`jakarta.enterprise.inject.UnsatisfiedResolutionException` because it cannot 
find a `javax.sql.DataSource` bean. Detail in 
https://github.com/apache/polaris/issues/1943
   
   This issue occurs because `quarkus.datasource.db-kind`is a build-time 
property in Quarkus. Its value must be defined during the application's build 
process to enable the datasource extension and generate the necessary CDI bean 
producer (ref: 
https://quarkus.io/guides/all-config#quarkus-datasource_quarkus-datasource-db-kind).
   
   I think we only support postgres for now, thus, I set 
`quarkus.datasource.db-kind=postgresql`. This can be problematic if we later 
want to support more data sources other than postgres. There are couple options 
we have for this such as use multiple named datasources in the config during 
build time. But this may be out of scope of this PR. I am open for more 
discussion on this, but for the time being, it may be better to unblock people 
who are trying to use the quick start doc.
   


-- 
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]

Reply via email to