MicroProfile LRA is a specification of an annotation based API that enables loosely coupled services to coordinate long running activities in such a way as to guarantee a globally consistent outcome without the need to take long duration locks on data.
LRA Coordinator implements Bulkhead Fault Tolerance strategies for dealing with failure:
-
Bulkhead: Limit concurrent execution so that failures in that area can’t overload the whole system
You can configure the Fault Tolerance variables (Bulkhead value and waitingTaskQueue) by defining the config property as "classname/annotation/parameter" in the microprofile-config.properties file.
For more documentation on Narayana LRA:
Documentation on MicroProfile LRA specification: