Skip to main content

MicroProfile LRA

MicroProfile Long Running Actions (LRA) helps manage distributed transactions that run over long periods. It ensures data consistency across microservices using compensating actions instead of traditional locks, supporting eventual consistency and reliable coordination.

LRA 2.0

Date Released: Mar 11th 2025

MicroProfile LRA is useful in situations where loosely coupled long running JAX-RS based activities should coordinate with each other and where they want to rely on a guarantee that a globally consistent outcome can be reached without the need to take locks on data. The scope of the activity is called a Long Running Action and services indicate that they wish to start or participate in activities using annotations. Each service is guaranteed to be notified when the activity is being cancelled so that it can compensate for any externally visible actions it performed during the activity – in this way a globally consistent outcome must eventually be reached.

MicroProfile LRA 2.0 is a major release providing Jakarta EE 9.1 Alignment

See More
Spec Version
Released Date
LRA 2.0.1
Mar 11th 2025
LRA 2.0
Mar 7, 2023
LRA 1.0
May 13, 2021

Join the Conversation

Stay engaged with the latest discussions and contribute to the growth of MicroProfile. Check the schedule below and join the next call to make your voice heard.

Help optimize Enterprise Java for a microservices architecture.

Join the MicroProfile Google Group, peruse recent topics or create your own, and join in on the conversation. It's that easy!

JOIN THE DISCUSSION