question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An extension providing support for Narayana Long Running Actions (LRAs)

See original GitHub issue

MicroProfile LRA is a specification of an API that enables loosely coupled JAX-RS 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.

The project is currently at version 1.0-RC1 and we would like the candidates to be available for running with quarkus. I believe this will bring in more users and will ideally provide us with useful feedback on the candidate releases.

The Narayana implementation has two pieces:

  1. a coordinator which maintains information about participants enlisted in the LRA and which coordinates the closure or cancellation of an LRA in order to ensure that all participants are reliably notified of the decision to close/cancel the LRA

  2. some annotations and a JAX-RS filter which intercepts JAX-RS requests to methods annotated with @LRA and interacts with the coordinator to manage the lifecycle of an LRA.

This issue is to provide a quarkus extension for both of these pieces.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
xstefankcommented, Feb 25, 2021

@eamazaj we are currently in the process of releasing MP LRA 1.0 and a Narayana version that would implement this API. I believe that @mmusgrov plans to reopen the Quarkus extension PR for LRA right after we have a Narayana release out.

1reaction
mmusgrovcommented, May 27, 2021

The quarkus extension and quickstart are done. I just need to rework the integration test - previously we embedded an LRA coordinator with the service but that functionality (two JAX-RS applications per deployment) has been removed so I need to figure out how to start the coordinator before running the test. Now in narayana we do that with an arquillian extension but that won’t work in with quarkus integration test so I I asked the question on zulip chat [1]. I guess that team is pretty busy but I know it’s possible (for example see the quarkus-test-framework module). I have a little spare time this afternoon so I will take another look to see how to do it.

[1] https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/Start.20a.20second.20service.20in.20an.20integration.20test

On Thu, May 27, 2021 at 6:29 AM Nahuel Olgiati @.***> wrote:

@mmusgrov https://github.com/mmusgrov @xstefank https://github.com/xstefank hello! Any news about this issue? Thanxs ❤️

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quarkusio/quarkus/issues/4399#issuecomment-849332911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYPNCRUUMERACE4LSSC63TPXKEBANCNFSM4I54FOBQ .

– Michael Musgrove @.***

JBoss, by Red Hat Registered Address: Red Hat Ltd, 6700 Cork Airport Business Park, Kinsale Road, Co. Cork. Registered in the Companies Registration Office, Parnell House, 14 Parnell Square, Dublin 1, Ireland, No.304873 Directors:Michael Cunningham (USA), Vicky Wiseman (USA), Michael O’Neill, Keith Phelan, Matt Parson (USA)

Read more comments on GitHub >

github_iconTop Results From Across the Web

An Extension for Long Running Activities - Quarkus
The extension provides an implementation of the MicroProfile LRA specification and its associated annotations. LRA coordinators. The narayana- ...
Read more >
How to use Long Running Actions between microservices
In my last post I showed how to run a Long Running Action (LRA) within a single JAX-RS resource method using quarkus features...
Read more >
Narayana Project Documentation
The Narayana Project Documentation contains information on how to use Narayana to develop applications that use transaction technology to manage business ...
Read more >
LRA Service Resilience - Google Groups
I would also like to say that all narayana transaction related projects and ... to another service while it awaits the outcome of...
Read more >
Narayana team blog - RSSing.com
The WSO framework provides ability to define strong orchestration of the ... Narayana LRA Narayana Long Running Actions is a specification ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found