LRA application with Narayana on Quarkus

101 views
Skip to first unread message

ile...@uk.ibm.com

unread,
Oct 16, 2020, 11:48:53 AM10/16/20
to narayana-users

Is it possible to build an LRA application using Narayana on top of Quarkus? I am getting an error when I try to build my application, and I haven't found out if there is a way around it. The error is:

[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.8.3.Final:build (default) on project lra-app-q: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems:
[ERROR] [1] Unsatisfied dependency for type io.narayana.lra.client.internal.proxy.nonjaxrs.LRAParticipantRegistry and qualifiers [@Default]
[ERROR] - java member: io.narayana.lra.client.internal.proxy.nonjaxrs.LRAParticipantResource#lraParticipantRegistry
[ERROR] - declared on CLASS bean [types=[io.narayana.lra.client.internal.proxy.nonjaxrs.LRAParticipantResource, java.lang.Object], qualifiers=[@Default, @Any], target=io.narayana.lra.client.internal.proxy.nonjaxrs.LRAParticipantResource]
[

Martin Stefanko

unread,
Oct 19, 2020, 1:25:50 AM10/19/20
to narayana-users
Hi,

it is, we have an extension in the making already. We will push it to Quarkus once the MP LRA 1.0 is released which should be sometime next month after MP WG is established. 

The referenced error is expected as LRAParticipantRegistry bean is created programmatically in the CDI extension which is not a supported/working feature in the Quarkus/Arc. So the extension is required to do this with other APIs.

Hope this helps,
Martin

Michael Musgrove

unread,
Oct 19, 2020, 4:43:33 AM10/19/20
to ile...@uk.ibm.com, narayana-users
The extension was ready to go (https://github.com/quarkusio/quarkus/pull/6763) but we found issues in native mode which required a new release of narayana.My intention is to make the LRA Quarkus extension available after our next narayana build (we don't need to wait for MP LRA 1.0).
Since you are showing interest in using LRA I will prioritise a new release of Narayana (https://narayana.io/).

--
You received this message because you are subscribed to the Google Groups "narayana-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to narayana-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/narayana-users/3982e2c4-6667-4311-930e-0f7b9fb834f1n%40googlegroups.com.

ile...@uk.ibm.com

unread,
Oct 20, 2020, 10:49:34 AM10/20/20
to narayana-users
Thank you for the responses. I don't really mind whether I develop on top of Quarkus or something else, I'm just keen to know what a good platform to build LRA on is. It looks as though Quarkus will be in the future, but not quite yet.
Reply all
Reply to author
Forward
0 new messages