1 of 1 people found this helpful
We are focusing most of our efforts on implementing version 1 of the microprofile-lra spec. In version 2 we will be looking at metrics and tracing.
The lra-coordinator is the service that can expose information about an LRA but we only provide basic data:
this.lraId // a unique id for the LRA
this.clientId // client provided name for the LRA
this.isTopLevel // LRAs can be nested
this.startTime // the UTC time in milliseconds when the LRA was created
this.finishTime // the UTC time in milliseconds when the LRA becomes eligible for cancellation
The coordinator listens on a REST endpoint so you can obtain the above information using something like curl: curl -X GET http://localhost:8080/lra-coordinator
In version 2 of the specification we will provide a java client API to obtain management information such as this. So then would be an excellent opportunity for you to get involved in defining which information would be useful.
We do not expose information about which participants are enlisted in the LRA (since that could be argued as being a security loophole).
The microprofile-lra spec and the narayana implementation are open source projects so if you would like have things included then just raise another request on this forum or raise an issue on the microprofile-lra issue tracker.