Skip to content

Make quarkus.transaction-manager.enable-recovery configurable by Keycloak env-var #15255

@neun24

Description

@neun24

Description

After adding the option to configure XA-transaction with default set to true, we experience the following warning since Keycloak 20.0.0.

WARN [io.quarkus.agroal.runtime.DataSources] (main) Datasource <default> enables XA but transaction recovery is not enabled. 
Please enable transaction recovery by setting quarkus.transaction-manager.enable-recovery=true, 
otherwise data may be lost if the application is terminated abruptly

This was introduced with #14375.

Can we please get the possibility to configure quarkus.transaction-manager.enable-recovery as suggested in the warning so we don't need to create a quarkus.properties file?

Thank you for your incredible work!

Discussion

No response

Motivation

No response

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategorizes a PR related to an enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions