You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
Hello, I am trying to make the Saga part of Servicecomb work with Spring Cloud Netflix Eureka. Sadly nothing happens when I send a request which should start the Saga and set the transaction in motion. The Alpha database tables are empty too and the compensation method (which should be running because in the @SagaStart annotated method there is a RuntimeException thrown) does not run. No logs indicate that anything happened at all.
What I did:
Alpha successfully registers to Eureka, so up until then there should not be a mistake on my part
Then the Omega dependency and Feign transport dependency is added to two services, and the alpha.cluster.register.type: eureka property is set in their props files
Then a serviceA service layer method is annotated with @SagaStart and @transactional, it calls a ServiceB method through a Feign client interface
ServiceB service layer method is annotated with @Compensable, @transactional and it has a compensation method with the same arguments and return type
What am I missing?
The text was updated successfully, but these errors were encountered:
Could you share some debug logging messages ? and I think it could be helpful for us to take a close look. Also it could be useful if you can share us with a simple re-producer project.
Sure, here they are. I included a readme in the re-producer project with some details, maybe it will help.
The logs are about the relevant services, the feedback-service should start the saga and call the user-service, which saves a record, then return to the feedback-service, where a RuntimeException is thrown, and in the user-service the compensation method should be called because of that. The re-producer project follows more or less the same logic.
Hello, I am trying to make the Saga part of Servicecomb work with Spring Cloud Netflix Eureka. Sadly nothing happens when I send a request which should start the Saga and set the transaction in motion. The Alpha database tables are empty too and the compensation method (which should be running because in the @SagaStart annotated method there is a RuntimeException thrown) does not run. No logs indicate that anything happened at all.
What I did:
alpha.cluster.register.type: eureka
property is set in their props filesWhat am I missing?
The text was updated successfully, but these errors were encountered: