snowdrop / narayana-spring-boot

Narayana Spring Boot autoconfiguration and starter
Apache License 2.0
46 stars 43 forks source link

Shorten node identifier if necessary #153

Closed graben closed 3 months ago

graben commented 3 months ago

Reintroduce feature originally introduced by #136 based on a new enhancement to Narayana 7.0.2 (jbosstm/narayana#2259). Analogous to Quarkus an explicit flag narayana.shorten-node-identifier-if-necessary has been added to activate the shortening feature (false by default!)

In this context, the property coming from the old Spring-Boot days narayana.transaction-manager-id has been deprecated in favour of narayana.node-identifier to better reflect the real meaning of the property (adjust to Narayana internal naming!).

graben commented 3 months ago

@geoand: Last enhancement for now. Please have a look at the new shortening feature. It's well tested by Narayana but not introduced into Quarkus yet as far as I know. I tested it against MariaDB (#140) and a few other database vendors.