I am attempting to accomplish something along these lines with Quarkus, and Naryana:
- client calls service to start a process that takes a while:
/lra/start
- This call sets off an LRA, and returns an LRA id used to track the status of the action
- client can keep polling some endpoint to determine status
- service eventually finishes and marks the action done through the coordinator
- client sees that the action has completed, is given the result or makes another request to get that result
Is this a valid use case? Am I visualizing the correct way this tool can work? Based on how the linked guide reads, it seems that the endpoints are more of a passthrough to the coordinator, notifying it that we start and end an LRA. Is there a more programmatic way to interact with the coordinator?